home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / blitzbasic / blitz-list200994.lha / blitz-list / NeilsLibs.lha / CIATrackerLib.bb < prev    next >
Unknown  |  1994-04-29  |  29.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% gt2 Kopftext: ';******************************************' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |;*******|********|
|00000010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 00 3b 2a 20 20 |********|***.;* |
|00000030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000050| 20 20 20 20 20 20 2a 00 | 3b 2a 20 20 43 49 41 20 | *.|;* CIA |
|00000060| 50 72 6f 74 72 61 63 6b | 65 72 20 4d 6f 64 75 6c |Protrack|er Modul|
|00000070| 65 20 50 6c 61 79 65 72 | 20 4c 69 62 72 61 72 79 |e Player| Library|
|00000080| 20 20 2a 00 3b 2a 20 20 | 42 79 20 4e 65 69 6c 20 | *.;* |By Neil |
|00000090| 4f 27 52 6f 75 72 6b 65 | 20 20 20 20 20 20 20 20 |O'Rourke| |
|000000a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 00 | | *.|
|000000b0| 3b 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;* | |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 2a 00 3b 2a 20 20 | | *.;* |
|000000e0| 56 65 72 73 69 6f 6e 3a | 20 31 2e 31 20 20 20 32 |Version:| 1.1 2|
|000000f0| 38 2f 34 2f 39 34 20 20 | 20 20 20 20 20 20 20 20 |8/4/94 | |
|00000100| 20 20 20 20 20 20 2a 00 | 3b 2a 20 20 20 20 20 20 | *.|;* |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000130| 20 20 2a 00 3b 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *.;***|********|
|00000140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 00 |********|*******.|
|00000160| 00 23 63 69 61 74 72 6b | 6c 69 62 3d 31 31 00 00 |.#ciatrk|lib=11..|
|00000170| 21 6c 69 62 68 65 61 64 | 65 72 20 7b 23 63 69 61 |!libhead|er {#cia|
|00000180| 74 72 6b 6c 69 62 2c 69 | 6e 69 74 2c 30 2c 66 69 |trklib,i|nit,0,fi|
|00000190| 6e 69 74 2c 30 7d 00 00 | 21 61 66 75 6e 63 74 69 |nit,0}..|!afuncti|
|000001a0| 6f 6e 7b 23 6c 6f 6e 67 | 7d 00 21 61 72 67 73 20 |on{#long|}.!args |
|000001b0| 7b 23 77 6f 72 64 2c 23 | 73 74 72 69 6e 67 7d 00 |{#word,#|string}.|
|000001c0| 21 6c 69 62 73 20 7b 23 | 64 6f 73 6c 69 62 2c 23 |!libs {#|doslib,#|
|000001d0| 6c 61 36 7d 00 21 73 75 | 62 73 20 7b 5f 6c 6f 61 |la6}.!su|bs {_loa|
|000001e0| 64 74 72 6b 6d 6f 64 75 | 6c 65 2c 30 2c 30 7d 00 |dtrkmodu|le,0,0}.|
|000001f0| 21 6e 61 6d 65 20 7b 22 | 4c 6f 61 64 54 72 61 63 |!name {"|LoadTrac|
|00000200| 6b 65 72 4d 6f 64 75 6c | 65 22 2c 22 28 54 72 61 |kerModul|e","(Tra|
|00000210| 63 6b 65 72 4d 6f 64 75 | 6c 65 23 2c 4e 61 6d 65 |ckerModu|le#,Name|
|00000220| 29 22 7d 00 00 21 61 73 | 74 61 74 65 6d 65 6e 74 |)"}..!as|tatement|
|00000230| 00 21 61 72 67 73 20 7b | 23 77 6f 72 64 7d 00 21 |.!args {|#word}.!|
|00000240| 6c 69 62 73 00 21 73 75 | 62 73 20 7b 5f 73 65 74 |libs.!su|bs {_set|
|00000250| 64 6d 61 77 61 69 74 2c | 30 2c 30 7d 00 21 6e 61 |dmawait,|0,0}.!na|
|00000260| 6d 65 20 7b 22 53 65 74 | 44 4d 41 57 61 69 74 22 |me {"Set|DMAWait"|
|00000270| 2c 22 44 4d 41 57 61 69 | 74 20 76 61 6c 75 65 22 |,"DMAWai|t value"|
|00000280| 7d 00 00 21 61 73 74 61 | 74 65 6d 65 6e 74 00 21 |}..!asta|tement.!|
|00000290| 61 72 67 73 20 7b 23 77 | 6f 72 64 7d 00 21 6c 69 |args {#w|ord}.!li|
|000002a0| 62 73 00 21 73 75 62 73 | 20 7b 5f 53 74 61 72 74 |bs.!subs| {_Start|
|000002b0| 54 72 6b 4d 6f 64 75 6c | 65 2c 30 2c 30 7d 00 21 |TrkModul|e,0,0}.!|
|000002c0| 6e 61 6d 65 20 7b 22 53 | 74 61 72 74 54 72 61 63 |name {"S|tartTrac|
|000002d0| 6b 65 72 22 2c 22 54 72 | 61 63 6b 65 72 4d 6f 64 |ker","Tr|ackerMod|
|000002e0| 75 6c 65 23 22 7d 00 00 | 21 61 73 74 61 74 65 6d |ule#"}..|!astatem|
|000002f0| 65 6e 74 00 21 61 72 67 | 73 00 21 6c 69 62 73 00 |ent.!arg|s.!libs.|
|00000300| 21 73 75 62 73 20 7b 5f | 53 74 6f 70 54 72 61 63 |!subs {_|StopTrac|
|00000310| 6b 65 72 2c 30 2c 30 7d | 00 21 6e 61 6d 65 20 7b |ker,0,0}|.!name {|
|00000320| 22 53 74 6f 70 54 72 61 | 63 6b 65 72 22 2c 22 22 |"StopTra|cker",""|
|00000330| 7d 00 00 21 61 73 74 61 | 74 65 6d 65 6e 74 00 21 |}..!asta|tement.!|
|00000340| 61 72 67 73 20 7b 23 77 | 6f 72 64 2c 23 6c 6f 6e |args {#w|ord,#lon|
|00000350| 67 2c 23 6c 6f 6e 67 7d | 00 21 6c 69 62 73 00 21 |g,#long}|.!libs.!|
|00000360| 73 75 62 73 20 7b 5f 73 | 65 74 74 72 6b 6d 6f 64 |subs {_s|ettrkmod|
|00000370| 2c 30 2c 30 7d 00 21 6e | 61 6d 65 20 7b 22 53 65 |,0,0}.!n|ame {"Se|
|00000380| 74 54 72 61 63 6b 65 72 | 4d 6f 64 75 6c 65 22 2c |tTracker|Module",|
|00000390| 22 54 72 61 63 6b 65 72 | 4d 6f 64 75 6c 65 23 2c |"Tracker|Module#,|
|000003a0| 4d 6f 64 75 6c 65 41 64 | 64 72 65 73 73 2c 4d 6f |ModuleAd|dress,Mo|
|000003b0| 64 75 6c 65 4c 65 6e 67 | 74 68 22 7d 00 00 21 61 |duleLeng|th"}..!a|
|000003c0| 66 75 6e 63 74 69 6f 6e | 7b 23 6c 6f 6e 67 7d 00 |function|{#long}.|
|000003d0| 21 61 72 67 73 7b 23 77 | 6f 72 64 7d 00 21 6c 69 |!args{#w|ord}.!li|
|000003e0| 62 73 00 21 73 75 62 73 | 7b 5f 67 65 74 74 72 6b |bs.!subs|{_gettrk|
|000003f0| 6c 65 6e 2c 30 2c 30 7d | 00 21 6e 61 6d 65 7b 22 |len,0,0}|.!name{"|
|00000400| 47 65 74 54 72 61 63 6b | 65 72 53 69 7a 65 22 2c |GetTrack|erSize",|
|00000410| 22 28 54 72 61 63 6b 65 | 72 4d 6f 64 75 6c 65 23 |"(Tracke|rModule#|
|00000420| 29 22 7d 00 00 21 61 66 | 75 6e 63 74 69 6f 6e 7b |)"}..!af|unction{|
|00000430| 23 6c 6f 6e 67 7d 00 21 | 61 72 67 73 7b 23 77 6f |#long}.!|args{#wo|
|00000440| 72 64 7d 00 21 6c 69 62 | 73 00 21 73 75 62 73 7b |rd}.!lib|s.!subs{|
|00000450| 5f 67 65 74 74 72 6b 6c | 6f 63 2c 30 2c 30 7d 00 |_gettrkl|oc,0,0}.|
|00000460| 21 6e 61 6d 65 7b 22 47 | 65 74 54 72 61 63 6b 65 |!name{"G|etTracke|
|00000470| 72 4c 6f 63 61 74 69 6f | 6e 22 2c 22 28 54 72 61 |rLocatio|n","(Tra|
|00000480| 63 6b 65 72 4d 6f 64 75 | 6c 65 23 29 22 7d 00 00 |ckerModu|le#)"}..|
|00000490| 21 61 73 74 61 74 65 6d | 65 6e 74 00 21 61 72 67 |!astatem|ent.!arg|
|000004a0| 73 7b 23 77 6f 72 64 7d | 00 21 6c 69 62 73 00 21 |s{#word}|.!libs.!|
|000004b0| 73 75 62 73 7b 5f 66 72 | 65 65 74 72 61 63 6b 65 |subs{_fr|eetracke|
|000004c0| 72 6d 6f 64 75 6c 65 2c | 30 2c 30 7d 00 21 6e 61 |rmodule,|0,0}.!na|
|000004d0| 6d 65 7b 22 46 72 65 65 | 54 72 61 63 6b 65 72 4d |me{"Free|TrackerM|
|000004e0| 6f 64 75 6c 65 22 2c 22 | 54 72 61 63 6b 65 72 4d |odule","|TrackerM|
|000004f0| 6f 64 75 6c 65 23 22 7d | 00 00 69 6e 69 74 3a 21 |odule#"}|..init:!|
|00000500| 6e 75 6c 6c 73 75 62 7b | 5f 69 6e 69 74 74 72 61 |nullsub{|_inittra|
|00000510| 63 6b 65 72 6c 69 62 2c | 30 2c 30 7d 00 66 69 6e |ckerlib,|0,0}.fin|
|00000520| 69 74 3a 21 6e 75 6c 6c | 73 75 62 7b 5f 66 69 6e |it:!null|sub{_fin|
|00000530| 69 74 74 72 61 63 6b 65 | 72 6c 69 62 2c 30 2c 30 |ittracke|rlib,0,0|
|00000540| 7d 00 00 21 6c 69 62 66 | 69 6e 00 00 3b 49 20 64 |}..!libf|in..;I d|
|00000550| 6f 6e 27 74 20 68 61 6c | 66 20 6c 69 6b 65 20 44 |on't hal|f like D|
|00000560| 65 76 50 61 63 2c 20 64 | 6f 20 49 3f 20 3a 29 00 |evPac, d|o I? :).|
|00000570| 00 2e 5f 6c 6f 61 64 74 | 72 6b 6d 6f 64 75 6c 65 |.._loadt|rkmodule|
|00000580| 3a 00 20 20 80 82 2e 6c | 20 61 34 2d 61 36 2c 2d |:. ...l| a4-a6,-|
|00000590| 28 61 37 29 00 20 20 80 | 7e 2e 6c 20 64 30 2c 74 |(a7). .|~.l d0,t|
|000005a0| 68 69 73 6d 6f 64 20 20 | 20 20 20 20 20 3b 53 61 |hismod | ;Sa|
|000005b0| 76 65 20 74 68 69 73 20 | 6d 6f 64 75 6c 65 20 6e |ve this |module n|
|000005c0| 75 6d 62 65 72 00 20 20 | 80 7e 2e 6c 20 64 31 2c |umber. |.~.l d1,|
|000005d0| 66 6e 61 6d 65 20 20 20 | 20 20 20 20 20 20 3b 53 |fname | ;S|
|000005e0| 61 76 65 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ave the |name of |
|000005f0| 74 68 65 20 6d 6f 64 75 | 6c 65 20 77 65 20 77 61 |the modu|le we wa|
|00000600| 6e 74 20 74 6f 20 6c 6f | 61 64 00 20 20 80 59 20 |nt to lo|ad. .Y |
|00000610| 5f 66 72 65 65 74 72 61 | 63 6b 65 72 6d 6f 64 75 |_freetra|ckermodu|
|00000620| 6c 65 20 20 3b 46 72 65 | 65 20 61 6e 79 20 70 72 |le ;Fre|e any pr|
|00000630| 65 76 69 6f 75 73 20 6d | 6f 64 75 6c 65 20 77 69 |evious m|odule wi|
|00000640| 74 68 20 74 68 69 73 20 | 6e 75 6d 62 65 72 00 20 |th this |number. |
|00000650| 20 80 7e 2e 6c 20 66 6e | 61 6d 65 2c 64 31 20 20 | .~.l fn|ame,d1 |
|00000660| 20 20 20 20 20 20 20 3b | 47 65 74 20 6e 61 6d 65 | ;|Get name|
|00000670| 20 62 61 63 6b 00 20 20 | 80 7e 2e 6c 20 23 2d 32 | back. |.~.l #-2|
|00000680| 2c 64 32 20 20 20 20 20 | 20 20 20 20 20 20 3b 41 |,d2 | ;A|
|00000690| 63 63 65 73 73 20 6d 6f | 64 65 00 20 20 80 79 20 |ccess mo|de. .y |
|000006a0| 2d 24 35 34 28 61 36 29 | 20 20 20 20 20 20 20 20 |-$54(a6)| |
|000006b0| 20 20 20 20 3b 47 65 74 | 20 61 20 6c 6f 63 6b 20 | ;Get| a lock |
|000006c0| 6f 6e 20 74 68 65 20 66 | 69 6c 65 00 20 20 80 5c |on the f|ile. .\|
|000006d0| 2e 6c 20 23 30 2c 64 30 | 00 20 20 80 48 20 66 69 |.l #0,d0|. .H fi|
|000006e0| 6c 65 65 72 72 00 20 20 | 80 7e 2e 6c 20 64 30 2c |leerr. |.~.l d0,|
|000006f0| 6c 6f 63 6b 20 20 20 20 | 20 20 20 20 20 20 3b 61 |lock | ;a|
|00000700| 6e 64 20 73 61 76 65 20 | 69 74 00 20 20 80 7e 2e |nd save |it. .~.|
|00000710| 6c 20 23 24 65 30 2c 64 | 30 20 20 20 20 20 20 20 |l #$e0,d|0 |
|00000720| 20 20 20 3b 45 6e 6f 75 | 67 68 20 6d 65 6d 6f 72 | ;Enou|gh memor|
|00000730| 79 20 66 6f 72 20 61 20 | 46 69 6c 65 49 6e 66 6f |y for a |FileInfo|
|00000740| 42 6c 6f 63 6b 00 20 20 | 80 7e 20 23 30 2c 64 31 |Block. |.~ #0,d1|
|00000750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 4d | | ;M|
|00000760| 65 6d 6f 72 79 20 74 79 | 70 65 20 28 30 3d 61 6e |emory ty|pe (0=an|
|00000770| 79 29 00 20 20 80 38 20 | 24 63 30 30 32 00 20 20 |y). .8 |$c002. |
|00000780| 80 48 20 74 72 61 63 6b | 65 72 65 72 72 00 20 20 |.H track|ererr. |
|00000790| 80 7e 2e 6c 20 64 30 2c | 66 69 62 20 20 20 20 20 |.~.l d0,|fib |
|000007a0| 20 20 20 20 20 20 3b 53 | 61 76 65 20 61 64 64 72 | ;S|ave addr|
|000007b0| 65 73 73 00 20 20 80 7e | 2e 6c 20 6c 6f 63 6b 2c |ess. .~|.l lock,|
|000007c0| 64 31 20 20 20 20 20 20 | 20 20 20 20 3b 4e 6f 77 |d1 | ;Now|
|000007d0| 20 67 65 74 20 6f 75 72 | 20 6c 6f 63 6b 00 20 20 | get our| lock. |
|000007e0| 80 7e 2e 6c 20 66 69 62 | 2c 64 32 20 20 20 20 20 |.~.l fib|,d2 |
|000007f0| 20 20 20 20 20 20 3b 61 | 6e 64 20 6f 75 72 20 66 | ;a|nd our f|
|00000800| 69 6c 65 20 69 6e 66 6f | 20 62 6c 6f 63 6b 00 20 |ile info| block. |
|00000810| 20 80 79 20 2d 24 36 36 | 28 61 36 29 20 20 20 20 | .y -$66|(a6) |
|00000820| 20 20 20 20 20 20 20 20 | 3b 61 6e 64 20 22 65 78 | |;and "ex|
|00000830| 61 6d 69 6e 65 22 20 74 | 68 65 20 66 69 6c 65 00 |amine" t|he file.|
|00000840| 20 20 80 48 20 66 69 6c | 65 65 72 72 00 20 20 80 | .H fil|eerr. .|
|00000850| 7e 2e 6c 20 66 69 62 2c | 61 30 00 20 20 80 7e 2e |~.l fib,|a0. .~.|
|00000860| 6c 20 24 37 63 28 61 30 | 29 2c 64 30 20 20 20 20 |l $7c(a0|),d0 |
|00000870| 20 20 20 3b 47 65 74 20 | 74 68 65 20 6c 65 6e 67 | ;Get |the leng|
|00000880| 74 68 20 6f 66 20 74 68 | 65 20 6d 6f 64 75 6c 65 |th of th|e module|
|00000890| 00 20 20 80 7e 2e 6c 20 | 64 30 2c 34 28 61 33 29 |. .~.l |d0,4(a3)|
|000008a0| 20 20 20 20 20 20 20 20 | 20 3b 53 61 76 65 20 69 | | ;Save i|
|000008b0| 74 20 69 6e 20 6f 75 72 | 20 64 61 74 61 20 74 61 |t in our| data ta|
|000008c0| 62 6c 65 00 20 20 80 7e | 2e 6c 20 23 32 2c 64 31 |ble. .~|.l #2,d1|
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 43 68 69 | | ;Chi|
|000008e0| 70 20 6d 65 6d 6f 72 79 | 00 20 20 80 38 20 24 63 |p memory|. .8 $c|
|000008f0| 30 30 32 20 20 20 20 20 | 20 20 20 20 20 20 3b 41 |002 | ;A|
|00000900| 6e 64 20 61 6c 6c 6f 63 | 61 74 65 20 65 6e 6f 75 |nd alloc|ate enou|
|00000910| 67 68 20 52 41 4d 00 20 | 20 80 7e 2e 6c 20 64 30 |gh RAM. | .~.l d0|
|00000920| 2c 30 28 61 33 29 20 20 | 20 20 20 20 20 20 20 3b |,0(a3) | ;|
|00000930| 53 61 76 65 20 74 68 65 | 20 61 64 64 72 65 73 73 |Save the| address|
|00000940| 20 69 6e 20 74 68 65 20 | 74 61 62 6c 65 00 20 20 | in the |table. |
|00000950| 80 7e 2e 6c 20 6c 6f 63 | 6b 2c 64 31 20 20 20 20 |.~.l loc|k,d1 |
|00000960| 20 20 20 20 20 20 3b 47 | 65 74 20 6f 75 72 20 6c | ;G|et our l|
|00000970| 6f 63 6b 00 20 20 80 79 | 20 2d 24 31 37 61 28 61 |ock. .y| -$17a(a|
|00000980| 36 29 20 20 20 20 20 20 | 20 20 20 20 20 3b 61 6e |6) | ;an|
|00000990| 64 20 6f 70 65 6e 20 74 | 68 65 20 66 69 6c 65 20 |d open t|he file |
|000009a0| 66 6f 72 20 72 65 61 64 | 69 6e 67 20 66 72 6f 6d |for read|ing from|
|000009b0| 20 6f 75 72 20 6c 6f 63 | 6b 00 20 20 80 7e 2e 6c | our loc|k. .~.l|
|000009c0| 20 64 30 2c 68 61 6e 64 | 20 20 20 20 20 20 20 20 | d0,hand| |
|000009d0| 20 20 3b 54 68 69 73 20 | 69 73 20 6f 75 72 20 66 | ;This |is our f|
|000009e0| 69 6c 65 20 68 61 6e 64 | 6c 65 00 20 20 80 7e 2e |ile hand|le. .~.|
|000009f0| 6c 20 30 28 61 33 29 2c | 64 32 20 20 20 20 20 20 |l 0(a3),|d2 |
|00000a00| 20 20 20 3b 54 68 65 20 | 66 69 6c 65 20 62 75 66 | ;The |file buf|
|00000a10| 66 65 72 2e 2e 2e 00 20 | 20 80 7e 2e 6c 20 64 30 |fer.... | .~.l d0|
|00000a20| 2c 64 31 20 20 20 20 20 | 20 20 20 20 20 20 20 3b |,d1 | ;|
|00000a30| 74 68 65 20 68 61 6e 64 | 6c 65 2e 2e 2e 00 20 20 |the hand|le.... |
|00000a40| 80 7e 2e 6c 20 34 28 61 | 33 29 2c 64 33 20 20 20 |.~.l 4(a|3),d3 |
|00000a50| 20 20 20 20 20 20 3b 74 | 68 65 20 6c 65 6e 67 74 | ;t|he lengt|
|00000a60| 68 2e 2e 2e 00 20 20 80 | 79 20 2d 24 32 61 28 61 |h.... .|y -$2a(a|
|00000a70| 36 29 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 4e |6) | ;N|
|00000a80| 6f 77 20 72 65 61 64 20 | 74 68 65 20 77 68 6f 6c |ow read |the whol|
|00000a90| 65 20 66 69 6c 65 20 69 | 6e 00 20 20 80 7e 2e 77 |e file i|n. .~.w|
|00000aa0| 20 23 31 2c 38 28 61 33 | 29 20 20 20 20 20 20 20 | #1,8(a3|) |
|00000ab0| 20 20 3b 57 65 20 72 65 | 61 6c 6c 79 20 6c 6f 61 | ;We re|ally loa|
|00000ac0| 64 65 64 20 74 68 69 73 | 20 6d 6f 64 75 6c 65 00 |ded this| module.|
|00000ad0| 20 20 80 7e 2e 6c 20 64 | 30 2c 72 65 61 64 65 72 | .~.l d|0,reader|
|00000ae0| 72 20 20 20 20 20 20 20 | 3b 53 61 76 65 20 74 68 |r |;Save th|
|00000af0| 65 20 65 72 72 6f 72 20 | 63 6f 64 65 00 6e 6f 74 |e error |code.not|
|00000b00| 74 72 6b 3a 00 20 20 80 | 7e 2e 6c 20 68 61 6e 64 |trk:. .|~.l hand|
|00000b10| 2c 64 31 20 20 20 20 20 | 20 20 20 20 20 3b 47 65 |,d1 | ;Ge|
|00000b20| 74 20 6f 75 72 20 66 69 | 6c 65 20 68 61 6e 64 6c |t our fi|le handl|
|00000b30| 65 20 62 61 63 6b 00 20 | 20 80 79 20 2d 24 32 34 |e back. | .y -$24|
|00000b40| 28 61 36 29 20 20 20 20 | 20 20 20 20 20 20 20 20 |(a6) | |
|00000b50| 3b 43 6c 6f 73 65 20 74 | 68 65 20 66 69 6c 65 00 |;Close t|he file.|
|00000b60| 20 20 80 7e 2e 6c 20 72 | 65 61 64 65 72 72 2c 64 | .~.l r|eaderr,d|
|00000b70| 30 20 20 20 20 20 20 20 | 3b 47 65 74 20 74 68 65 |0 |;Get the|
|00000b80| 20 65 72 72 6f 72 20 63 | 6f 64 65 00 20 20 80 7e | error c|ode. .~|
|00000b90| 2e 6c 20 23 2d 31 2c 72 | 65 61 64 65 72 72 20 20 |.l #-1,r|eaderr |
|00000ba0| 20 20 20 20 3b 53 65 74 | 20 69 74 20 74 6f 20 42 | ;Set| it to B|
|00000bb0| 6c 69 74 7a 20 54 72 75 | 65 00 20 20 80 5c 2e 6c |litz Tru|e. .\.l|
|00000bc0| 20 23 2d 31 2c 64 30 20 | 20 20 20 20 20 20 20 20 | #-1,d0 | |
|00000bd0| 20 20 20 3b 57 61 73 20 | 69 74 20 61 6e 20 65 72 | ;Was |it an er|
|00000be0| 72 6f 72 3f 00 20 20 80 | 50 20 66 72 65 65 66 69 |ror?. .|P freefi|
|00000bf0| 62 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 4e |b | ;N|
|00000c00| 6f 2c 20 64 6f 6e 27 74 | 20 61 74 74 65 6d 70 74 |o, don't| attempt|
|00000c10| 20 74 6f 20 66 72 65 65 | 20 74 68 65 20 6c 6f 63 | to free| the loc|
|00000c20| 6b 00 20 20 80 7e 2e 6c | 20 6c 6f 63 6b 2c 64 31 |k. .~.l| lock,d1|
|00000c30| 20 20 20 20 20 20 20 20 | 20 20 3b 47 65 74 20 6f | | ;Get o|
|00000c40| 75 72 20 6c 6f 63 6b 00 | 20 20 80 79 20 2d 24 35 |ur lock.| .y -$5|
|00000c50| 61 28 61 36 29 20 20 20 | 20 20 20 20 20 20 20 20 |a(a6) | |
|00000c60| 20 3b 61 6e 64 20 55 6e | 4c 6f 63 6b 20 69 74 00 | ;and Un|Lock it.|
|00000c70| 20 20 80 7e 2e 6c 20 23 | 30 2c 72 65 61 64 65 72 | .~.l #|0,reader|
|00000c80| 72 20 20 20 20 20 20 20 | 3b 53 65 74 20 74 68 65 |r |;Set the|
|00000c90| 20 65 72 72 6f 72 20 63 | 6f 64 65 20 74 6f 20 42 | error c|ode to B|
|00000ca0| 6c 69 74 7a 20 46 61 6c | 73 65 00 20 20 80 7e 2e |litz Fal|se. .~.|
|00000cb0| 6c 20 74 68 69 73 6d 6f | 64 2c 64 30 20 20 20 20 |l thismo|d,d0 |
|00000cc0| 20 20 20 3b 47 65 74 20 | 62 61 63 6b 20 74 68 69 | ;Get |back thi|
|00000cd0| 73 20 6d 6f 64 75 6c 65 | 20 6e 75 6d 62 65 72 00 |s module| number.|
|00000ce0| 20 20 80 79 20 5f 66 72 | 65 65 74 72 61 63 6b 65 | .y _fr|eetracke|
|00000cf0| 72 6d 6f 64 75 6c 65 20 | 20 3b 61 6e 64 20 66 72 |rmodule | ;and fr|
|00000d00| 65 65 20 75 70 20 74 68 | 65 20 6d 65 6d 6f 72 79 |ee up th|e memory|
|00000d10| 20 61 6c 6c 6f 63 61 74 | 65 64 00 66 72 65 65 66 | allocat|ed.freef|
|00000d20| 69 62 3a 00 20 20 80 7e | 2e 6c 20 66 69 62 2c 61 |ib:. .~|.l fib,a|
|00000d30| 31 20 20 20 20 20 20 20 | 20 20 20 20 3b 47 65 74 |1 | ;Get|
|00000d40| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 6f 66 20 | the add|ress of |
|00000d50| 6f 75 72 20 46 69 6c 65 | 49 6e 66 6f 42 6c 6f 63 |our File|InfoBloc|
|00000d60| 6b 00 20 20 80 7e 2e 6c | 20 23 24 65 30 2c 64 30 |k. .~.l| #$e0,d0|
|00000d70| 20 20 20 20 20 20 20 20 | 20 20 3b 54 68 65 20 73 | | ;The s|
|00000d80| 69 7a 65 20 6f 66 20 69 | 74 00 20 20 80 38 20 24 |ize of i|t. .8 $|
|00000d90| 63 30 30 33 20 20 20 20 | 20 20 20 20 20 20 20 3b |c003 | ;|
|00000da0| 61 6e 64 20 66 72 65 65 | 20 69 74 00 6e 6f 66 69 |and free| it.nofi|
|00000db0| 6c 65 3a 00 20 20 80 82 | 2e 6c 20 28 61 37 29 2b |le:. ..|.l (a7)+|
|00000dc0| 2c 61 34 2d 61 36 20 20 | 20 20 20 3b 52 65 73 74 |,a4-a6 | ;Rest|
|00000dd0| 6f 72 65 20 74 68 65 20 | 72 65 67 69 73 74 65 72 |ore the |register|
|00000de0| 73 00 20 20 80 7e 2e 6c | 20 72 65 61 64 65 72 72 |s. .~.l| readerr|
|00000df0| 2c 64 30 20 20 20 20 20 | 20 20 3b 53 65 74 20 61 |,d0 | ;Set a|
|00000e00| 20 72 65 74 75 72 6e 20 | 63 6f 64 65 00 20 20 80 | return |code. .|
|00000e10| 94 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000e20| 20 20 20 20 20 20 3b 44 | 6f 6e 65 00 00 66 69 6c | ;D|one..fil|
|00000e30| 65 65 72 72 3a 00 20 20 | 80 7e 2e 6c 20 23 6d 65 |eerr:. |.~.l #me|
|00000e40| 73 73 2c 64 30 00 20 20 | 80 ae 23 30 00 74 72 61 |ss,d0. |..#0.tra|
|00000e50| 63 6b 65 72 65 72 72 3a | 00 20 20 80 7e 2e 6c 20 |ckererr:|. .~.l |
|00000e60| 23 6d 65 73 73 32 2c 64 | 30 00 20 20 80 ae 23 30 |#mess2,d|0. ..#0|
|00000e70| 00 00 6d 65 73 73 3a 80 | 25 2e 62 20 22 43 61 6e |..mess:.|%.b "Can|
|00000e80| 27 74 20 4f 70 65 6e 20 | 54 72 61 63 6b 65 72 20 |'t Open |Tracker |
|00000e90| 4d 6f 64 75 6c 65 22 2c | 30 00 6d 65 73 73 32 3a |Module",|0.mess2:|
|00000ea0| 80 25 2e 62 20 22 54 72 | 61 63 6b 65 72 20 4c 69 |.%.b "Tr|acker Li|
|00000eb0| 62 72 61 72 79 20 45 72 | 72 6f 72 22 2c 30 00 20 |brary Er|ror",0. |
|00000ec0| 20 80 27 00 00 2e 5f 66 | 72 65 65 74 72 61 63 6b | .'..._f|reetrack|
|00000ed0| 65 72 6d 6f 64 75 6c 65 | 3a 00 20 20 80 7a 20 6d |ermodule|:. .z m|
|00000ee0| 6f 64 74 61 62 6c 65 2c | 61 33 20 3b 47 65 74 20 |odtable,|a3 ;Get |
|00000ef0| 74 68 65 20 61 64 64 72 | 65 73 73 20 6f 66 20 74 |the addr|ess of t|
|00000f00| 68 65 20 6d 6f 64 75 6c | 65 20 74 61 62 6c 65 00 |he modul|e table.|
|00000f10| 20 20 80 84 20 23 31 30 | 2c 64 30 20 20 20 20 20 | .. #10|,d0 |
|00000f20| 3b 4f 66 66 73 65 74 20 | 69 6e 74 6f 20 74 61 62 |;Offset |into tab|
|00000f30| 6c 65 00 20 20 80 3f 20 | 64 30 2c 61 33 20 20 20 |le. .? |d0,a3 |
|00000f40| 20 20 20 3b 4e 6f 77 20 | 61 33 20 70 6f 69 6e 74 | ;Now |a3 point|
|00000f50| 73 20 74 6f 20 74 68 65 | 20 63 6f 72 72 65 63 74 |s to the| correct|
|00000f60| 20 65 6e 74 72 79 00 20 | 20 80 7e 2e 6c 20 30 28 | entry. | .~.l 0(|
|00000f70| 61 33 29 2c 64 30 20 3b | 47 65 74 20 61 64 64 72 |a3),d0 ;|Get addr|
|00000f80| 65 73 73 20 6f 66 20 6d | 6f 64 75 6c 65 00 20 20 |ess of m|odule. |
|00000f90| 80 48 20 6e 6f 66 72 65 | 65 20 20 20 20 20 20 3b |.H nofre|e ;|
|00000fa0| 4e 6f 6e 65 20 74 6f 20 | 66 72 65 65 2c 20 61 70 |None to |free, ap|
|00000fb0| 70 61 72 65 6e 74 6c 79 | 00 20 20 80 7e 2e 77 20 |parently|. .~.w |
|00000fc0| 38 28 61 33 29 2c 64 30 | 20 3b 67 65 74 20 74 68 |8(a3),d0| ;get th|
|00000fd0| 65 20 49 73 52 65 61 6c | 20 66 6c 61 67 00 20 20 |e IsReal| flag. |
|00000fe0| 80 5c 2e 77 20 23 30 2c | 64 30 20 20 20 20 20 3b |.\.w #0,|d0 ;|
|00000ff0| 49 73 20 69 74 20 61 20 | 66 61 6b 65 20 6d 6f 64 |Is it a |fake mod|
|00001000| 75 6c 65 3f 00 20 20 80 | 48 20 6e 6f 66 72 65 65 |ule?. .|H nofree|
|00001010| 20 20 20 20 20 20 3b 59 | 65 73 2c 20 6a 75 73 74 | ;Y|es, just|
|00001020| 20 66 72 65 65 20 74 68 | 65 20 72 65 66 65 72 65 | free th|e refere|
|00001030| 6e 63 65 73 00 20 20 80 | 7e 2e 6c 20 30 28 61 33 |nces. .|~.l 0(a3|
|00001040| 29 2c 61 31 20 3b 47 65 | 74 20 61 64 64 72 65 73 |),a1 ;Ge|t addres|
|00001050| 73 2e 2e 2e 00 20 20 80 | 7e 2e 6c 20 34 28 61 33 |s.... .|~.l 4(a3|
|00001060| 29 2c 64 30 20 3b 61 6e | 64 20 6c 65 6e 67 74 68 |),d0 ;an|d length|
|00001070| 00 20 20 80 38 24 63 30 | 30 33 20 20 20 20 3b 46 |. .8$c0|03 ;F|
|00001080| 72 65 65 20 74 68 65 20 | 6d 6f 64 75 6c 65 00 6e |ree the |module.n|
|00001090| 6f 66 72 65 65 3a 20 20 | 20 20 20 20 20 20 20 20 |ofree: | |
|000010a0| 20 3b 4e 6f 20 28 72 65 | 61 6c 29 20 6d 6f 64 75 | ;No (re|al) modu|
|000010b0| 6c 65 20 74 6f 20 66 72 | 65 65 20 69 66 20 77 65 |le to fr|ee if we|
|000010c0| 20 6a 75 6d 70 65 64 20 | 68 65 72 65 2e 2e 2e 00 | jumped |here....|
|000010d0| 20 20 80 5b 2e 6c 20 30 | 28 61 33 29 20 20 20 20 | .[.l 0|(a3) |
|000010e0| 20 3b 43 6c 65 61 72 20 | 74 68 65 20 61 64 64 72 | ;Clear |the addr|
|000010f0| 65 73 73 20 70 6f 69 6e | 74 65 72 2e 2e 2e 00 20 |ess poin|ter.... |
|00001100| 20 80 5b 2e 6c 20 34 28 | 61 33 29 20 20 20 20 20 | .[.l 4(|a3) |
|00001110| 3b 61 6e 64 20 74 68 65 | 20 6c 65 6e 67 74 68 2e |;and the| length.|
|00001120| 2e 2e 00 20 20 80 5b 2e | 77 20 38 28 61 33 29 20 |... .[.|w 8(a3) |
|00001130| 20 20 20 20 3b 61 6e 64 | 20 74 68 65 20 66 6c 61 | ;and| the fla|
|00001140| 67 00 20 20 80 94 00 00 | 2e 5f 73 65 74 74 72 6b |g. ....|._settrk|
|00001150| 6d 6f 64 3a 00 20 20 80 | 7a 20 6d 6f 64 74 61 62 |mod:. .|z modtab|
|00001160| 6c 65 2c 61 33 20 3b 47 | 65 74 20 74 68 65 20 61 |le,a3 ;G|et the a|
|00001170| 64 64 72 65 73 73 20 6f | 66 20 74 68 65 20 6d 6f |ddress o|f the mo|
|00001180| 64 75 6c 65 20 74 61 62 | 6c 65 00 20 20 80 84 20 |dule tab|le. .. |
|00001190| 23 31 30 2c 64 30 20 20 | 20 20 20 3b 4f 66 66 73 |#10,d0 | ;Offs|
|000011a0| 65 74 20 69 6e 74 6f 20 | 74 61 62 6c 65 00 20 20 |et into |table. |
|000011b0| 80 3f 20 64 30 2c 61 33 | 20 20 20 20 20 20 3b 4e |.? d0,a3| ;N|
|000011c0| 6f 77 20 61 33 20 70 6f | 69 6e 74 73 20 74 6f 20 |ow a3 po|ints to |
|000011d0| 74 68 65 20 63 6f 72 72 | 65 63 74 20 65 6e 74 72 |the corr|ect entr|
|000011e0| 79 00 20 20 80 7e 2e 6c | 20 64 31 2c 30 28 61 33 |y. .~.l| d1,0(a3|
|000011f0| 29 20 3b 53 61 76 65 20 | 61 64 64 72 65 73 73 00 |) ;Save |address.|
|00001200| 20 20 80 7e 2e 6c 20 64 | 32 2c 34 28 61 33 29 20 | .~.l d|2,4(a3) |
|00001210| 3b 61 6e 64 20 6c 65 6e | 67 74 68 00 20 20 80 94 |;and len|gth. ..|
|00001220| 00 00 2e 5f 67 65 74 74 | 72 6b 6c 65 6e 00 20 20 |..._gett|rklen. |
|00001230| 80 7a 20 6d 6f 64 74 61 | 62 6c 65 2c 61 33 20 3b |.z modta|ble,a3 ;|
|00001240| 47 65 74 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |Get the |address |
|00001250| 6f 66 20 74 68 65 20 6d | 6f 64 75 6c 65 20 74 61 |of the m|odule ta|
|00001260| 62 6c 65 00 20 20 80 84 | 20 23 31 30 2c 64 30 20 |ble. ..| #10,d0 |
|00001270| 20 20 20 20 3b 4f 66 66 | 73 65 74 20 69 6e 74 6f | ;Off|set into|
|00001280| 20 74 61 62 6c 65 00 20 | 20 80 3f 20 64 30 2c 61 | table. | .? d0,a|
|00001290| 33 20 20 20 20 20 20 3b | 4e 6f 77 20 61 33 20 70 |3 ;|Now a3 p|
|000012a0| 6f 69 6e 74 73 20 74 6f | 20 74 68 65 20 63 6f 72 |oints to| the cor|
|000012b0| 72 65 63 74 20 65 6e 74 | 72 79 00 20 20 80 7e 2e |rect ent|ry. .~.|
|000012c0| 6c 20 34 28 61 33 29 2c | 64 30 20 3b 47 65 74 20 |l 4(a3),|d0 ;Get |
|000012d0| 6c 65 6e 67 74 68 00 20 | 20 80 94 00 00 2e 5f 67 |length. | ....._g|
|000012e0| 65 74 74 72 6b 6c 6f 63 | 00 20 20 80 7a 20 6d 6f |ettrkloc|. .z mo|
|000012f0| 64 74 61 62 6c 65 2c 61 | 33 20 3b 47 65 74 20 74 |dtable,a|3 ;Get t|
|00001300| 68 65 20 61 64 64 72 65 | 73 73 20 6f 66 20 74 68 |he addre|ss of th|
|00001310| 65 20 6d 6f 64 75 6c 65 | 20 74 61 62 6c 65 00 20 |e module| table. |
|00001320| 20 80 84 20 23 31 30 2c | 64 30 20 20 20 20 20 3b | .. #10,|d0 ;|
|00001330| 4f 66 66 73 65 74 20 69 | 6e 74 6f 20 74 61 62 6c |Offset i|nto tabl|
|00001340| 65 00 20 20 80 3f 20 64 | 30 2c 61 33 20 20 20 20 |e. .? d|0,a3 |
|00001350| 20 20 3b 4e 6f 77 20 61 | 33 20 70 6f 69 6e 74 73 | ;Now a|3 points|
|00001360| 20 74 6f 20 74 68 65 20 | 63 6f 72 72 65 63 74 20 | to the |correct |
|00001370| 65 6e 74 72 79 00 20 20 | 80 7e 2e 6c 20 30 28 61 |entry. |.~.l 0(a|
|00001380| 33 29 2c 64 30 20 3b 47 | 65 74 20 6c 6f 63 61 74 |3),d0 ;G|et locat|
|00001390| 69 6f 6e 00 20 20 80 94 | 00 00 3b 53 6f 6d 65 20 |ion. ..|..;Some |
|000013a0| 69 6e 70 6f 72 74 61 6e | 74 20 64 61 74 61 00 68 |inportan|t data.h|
|000013b0| 61 6e 64 3a 80 25 2e 6c | 20 30 00 6c 6f 63 6b 3a |and:.%.l| 0.lock:|
|000013c0| 80 25 2e 6c 20 30 00 66 | 6e 61 6d 65 3a 20 80 25 |.%.l 0.f|name: .%|
|000013d0| 2e 6c 20 30 00 66 69 62 | 3a 20 80 25 2e 6c 20 30 |.l 0.fib|: .%.l 0|
|000013e0| 00 72 65 61 64 65 72 72 | 3a 20 80 25 2e 6c 20 30 |.readerr|: .%.l 0|
|000013f0| 00 74 68 69 73 6d 6f 64 | 3a 20 80 25 2e 6c 20 30 |.thismod|: .%.l 0|
|00001400| 00 00 2e 5f 69 6e 69 74 | 74 72 61 63 6b 65 72 6c |..._init|trackerl|
|00001410| 69 62 3a 00 20 20 80 82 | 2e 6c 20 61 34 2d 61 36 |ib:. ..|.l a4-a6|
|00001420| 2c 2d 28 61 37 29 00 20 | 20 80 79 20 53 65 74 43 |,-(a7). | .y SetC|
|00001430| 49 41 49 6e 74 20 20 20 | 20 20 20 20 3b 46 69 72 |IAInt | ;Fir|
|00001440| 65 20 75 70 20 74 68 65 | 20 61 63 74 75 61 6c 20 |e up the| actual |
|00001450| 50 54 20 43 49 41 20 69 | 6e 74 65 72 72 75 70 74 |PT CIA i|nterrupt|
|00001460| 00 20 20 80 7a 20 6d 6f | 64 74 61 62 6c 65 2c 61 |. .z mo|dtable,a|
|00001470| 33 00 20 20 80 7e 2e 6c | 20 23 37 2c 64 30 00 63 |3. .~.l| #7,d0.c|
|00001480| 6c 72 6d 65 6d 3a 00 20 | 20 80 5b 2e 6c 20 28 61 |lrmem:. | .[.l (a|
|00001490| 33 29 2b 20 20 20 20 20 | 20 20 20 20 3b 43 6c 65 |3)+ | ;Cle|
|000014a0| 61 72 20 74 68 65 20 61 | 64 64 72 65 73 73 20 70 |ar the a|ddress p|
|000014b0| 6f 69 6e 74 65 72 00 20 | 20 80 5b 2e 6c 20 28 61 |ointer. | .[.l (a|
|000014c0| 33 29 2b 20 20 20 20 20 | 20 20 20 20 3b 61 6e 64 |3)+ | ;and|
|000014d0| 20 74 68 65 20 6c 65 6e | 67 74 68 00 20 20 80 5b | the len|gth. .[|
|000014e0| 2e 77 20 28 61 33 29 2b | 20 20 20 20 20 20 20 20 |.w (a3)+| |
|000014f0| 20 3b 61 6e 64 20 74 68 | 65 20 66 6c 61 67 00 20 | ;and th|e flag. |
|00001500| 20 80 6a 20 64 30 2c 63 | 6c 72 6d 65 6d 00 20 20 | .j d0,c|lrmem. |
|00001510| 80 82 2e 6c 20 28 61 37 | 29 2b 2c 61 34 2d 61 36 |...l (a7|)+,a4-a6|
|00001520| 00 20 20 80 94 00 00 2e | 5f 66 69 6e 69 74 74 72 |. .....|_finittr|
|00001530| 61 63 6b 65 72 6c 69 62 | 3a 00 20 20 80 82 2e 6c |ackerlib|:. ...l|
|00001540| 20 61 34 2d 61 36 2c 2d | 28 61 37 29 00 20 20 80 | a4-a6,-|(a7). .|
|00001550| 79 20 5f 53 74 6f 70 54 | 72 61 63 6b 65 72 00 20 |y _StopT|racker. |
|00001560| 20 80 79 20 52 65 73 65 | 74 43 49 41 49 6e 74 00 | .y Rese|tCIAInt.|
|00001570| 20 20 80 82 2e 6c 20 28 | 61 37 29 2b 2c 61 34 2d | ...l (|a7)+,a4-|
|00001580| 61 36 00 20 20 80 94 00 | 00 2e 5f 73 65 74 64 6d |a6. ...|.._setdm|
|00001590| 61 77 61 69 74 00 20 20 | 80 7e 2e 77 20 64 30 2c |await. |.~.w d0,|
|000015a0| 44 4d 41 5f 57 61 69 74 | 20 20 3b 4f 68 2c 20 73 |DMA_Wait| ;Oh, s|
|000015b0| 6f 20 63 6f 6d 70 6c 65 | 78 2c 20 65 68 3f 00 20 |o comple|x, eh?. |
|000015c0| 20 80 94 00 00 2e 5f 53 | 74 61 72 74 54 72 6b 4d | ....._S|tartTrkM|
|000015d0| 6f 64 75 6c 65 3a 00 20 | 20 80 82 2e 6c 20 61 34 |odule:. | ...l a4|
|000015e0| 2d 61 36 2c 2d 28 61 37 | 29 00 20 20 80 7a 20 6d |-a6,-(a7|). .z m|
|000015f0| 6f 64 74 61 62 6c 65 2c | 61 33 20 20 20 20 20 20 |odtable,|a3 |
|00001600| 20 3b 47 65 74 20 74 68 | 65 20 61 64 64 72 65 73 | ;Get th|e addres|
|00001610| 73 20 6f 66 20 74 68 65 | 20 6d 6f 64 75 6c 65 20 |s of the| module |
|00001620| 74 61 62 6c 65 00 20 20 | 80 84 20 23 31 30 2c 64 |table. |.. #10,d|
|00001630| 30 20 20 20 20 20 20 20 | 20 20 20 20 3b 4f 66 66 |0 | ;Off|
|00001640| 73 65 74 20 69 6e 74 6f | 20 74 61 62 6c 65 00 20 |set into| table. |
|00001650| 20 80 3f 20 64 30 2c 61 | 33 20 20 20 20 20 20 20 | .? d0,a|3 |
|00001660| 20 20 20 20 20 3b 4e 6f | 77 20 61 33 20 70 6f 69 | ;No|w a3 poi|
|00001670| 6e 74 73 20 74 6f 20 74 | 68 65 20 63 6f 72 72 65 |nts to t|he corre|
|00001680| 63 74 20 65 6e 74 72 79 | 00 20 20 80 7e 2e 6c 20 |ct entry|. .~.l |
|00001690| 30 28 61 33 29 2c 6d 74 | 5f 64 61 74 61 20 20 3b |0(a3),mt|_data ;|
|000016a0| 47 65 74 20 61 64 64 72 | 65 73 73 20 6f 66 20 6d |Get addr|ess of m|
|000016b0| 6f 64 75 6c 65 20 66 6f | 72 20 74 68 65 20 72 65 |odule fo|r the re|
|000016c0| 70 6c 61 79 20 72 6f 75 | 74 69 6e 65 00 20 20 80 |play rou|tine. .|
|000016d0| 79 20 6d 74 5f 69 6e 69 | 74 00 20 20 80 a4 20 20 |y mt_ini|t. .. |
|000016e0| 6d 74 5f 45 6e 61 62 6c | 65 00 20 20 80 82 2e 6c |mt_Enabl|e. ...l|
|000016f0| 20 28 61 37 29 2b 2c 61 | 34 2d 61 36 00 20 20 80 | (a7)+,a|4-a6. .|
|00001700| 94 00 00 2e 5f 53 74 6f | 70 54 72 61 63 6b 65 72 |...._Sto|pTracker|
|00001710| 00 20 20 80 82 2e 6c 20 | 61 34 2d 61 36 2c 2d 28 |. ...l |a4-a6,-(|
|00001720| 61 37 29 00 20 20 80 79 | 20 6d 74 5f 65 6e 64 00 |a7). .y| mt_end.|
|00001730| 20 20 80 82 2e 6c 20 28 | 61 37 29 2b 2c 61 34 2d | ...l (|a7)+,a4-|
|00001740| 61 36 00 20 20 80 94 00 | 00 6d 6f 64 74 61 62 6c |a6. ...|.modtabl|
|00001750| 65 3a 20 80 25 2e 6c 20 | 30 2c 30 2c 30 2c 30 2c |e: .%.l |0,0,0,0,|
|00001760| 30 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 2c |0,0,0,0,|0,0,0,0,|
|00001770| 30 2c 30 2c 30 2c 30 2c | 30 2c 30 2c 30 2c 30 00 |0,0,0,0,|0,0,0,0.|
|00001780| 44 4d 41 5f 57 61 69 74 | 3a 20 80 25 2e 77 20 33 |DMA_Wait|: .%.w 3|
|00001790| 30 30 00 00 3b 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |00..;***|********|
|000017a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017c0| 2a 2a 2a 2a 2a 2a 2a 00 | 3b 2a 20 20 20 20 2d 2d |*******.|;* --|
|000017d0| 2d 2d 2d 20 50 72 6f 74 | 72 61 63 6b 65 72 20 56 |--- Prot|racker V|
|000017e0| 32 2e 33 41 20 50 6c 61 | 79 72 6f 75 74 69 6e 65 |2.3A Pla|yroutine|
|000017f0| 20 2d 2d 2d 2d 2d 20 20 | 20 20 2a 00 3b 2a 2a 2a | ----- | *.;***|
|00001800| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001810| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001820| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 00 |********|*******.|
|00001830| 00 3b 20 43 49 41 20 56 | 65 72 73 69 6f 6e 20 31 |.; CIA V|ersion 1|
|00001840| 3a 00 3b 20 43 61 6c 6c | 20 53 65 74 43 49 41 49 |:.; Call| SetCIAI|
|00001850| 6e 74 20 74 6f 20 69 6e | 73 74 61 6c 6c 20 74 68 |nt to in|stall th|
|00001860| 65 20 69 6e 74 65 72 72 | 75 70 74 20 73 65 72 76 |e interr|upt serv|
|00001870| 65 72 2e 20 54 68 65 6e | 20 63 61 6c 6c 20 6d 74 |er. Then| call mt|
|00001880| 5f 69 6e 69 74 00 3b 20 | 74 6f 20 69 6e 69 74 69 |_init.; |to initi|
|00001890| 61 6c 69 7a 65 20 74 68 | 65 20 73 6f 6e 67 2e 20 |alize th|e song. |
|000018a0| 50 6c 61 79 62 61 63 6b | 20 73 74 61 72 74 73 20 |Playback| starts |
|000018b0| 77 68 65 6e 20 74 68 65 | 20 6d 74 5f 65 6e 61 62 |when the| mt_enab|
|000018c0| 6c 65 20 66 6c 61 67 00 | 3b 20 69 73 20 73 65 74 |le flag.|; is set|
|000018d0| 20 74 6f 20 61 20 6e 6f | 6e 7a 65 72 6f 20 76 61 | to a no|nzero va|
|000018e0| 6c 75 65 2e 20 54 6f 20 | 65 6e 64 20 74 68 65 20 |lue. To |end the |
|000018f0| 73 6f 6e 67 20 61 6e 64 | 20 74 75 72 6e 20 6f 66 |song and| turn of|
|00001900| 66 20 61 6c 6c 20 76 6f | 69 63 65 73 2c 00 3b 20 |f all vo|ices,.; |
|00001910| 63 61 6c 6c 20 6d 74 5f | 65 6e 64 2e 20 41 74 20 |call mt_|end. At |
|00001920| 6c 61 73 74 2c 20 63 61 | 6c 6c 20 52 65 73 65 74 |last, ca|ll Reset|
|00001930| 43 49 41 49 6e 74 20 74 | 6f 20 72 65 6d 6f 76 65 |CIAInt t|o remove|
|00001940| 20 74 68 65 20 69 6e 74 | 65 72 72 75 70 74 2e 00 | the int|errupt..|
|00001950| 00 3b 20 54 68 69 73 20 | 70 6c 61 79 72 6f 75 74 |.; This |playrout|
|00001960| 69 6e 65 20 69 73 20 6e | 6f 74 20 76 65 72 79 20 |ine is n|ot very |
|00001970| 66 61 73 74 2c 20 6f 70 | 74 69 6d 69 7a 65 64 20 |fast, op|timized |
|00001980| 6f 72 20 77 65 6c 6c 20 | 63 6f 6d 6d 65 6e 74 65 |or well |commente|
|00001990| 64 2c 00 3b 20 62 75 74 | 20 61 6c 6c 20 74 68 65 |d,.; but| all the|
|000019a0| 20 6e 65 77 20 63 6f 6d | 6d 61 6e 64 73 20 69 6e | new com|mands in|
|000019b0| 20 50 54 32 2e 33 20 73 | 68 6f 75 6c 64 20 77 6f | PT2.3 s|hould wo|
|000019c0| 72 6b 2e 00 3b 20 49 66 | 20 69 74 27 73 20 6e 6f |rk..; If| it's no|
|000019d0| 74 20 67 6f 6f 64 20 65 | 6e 6f 75 67 68 2c 20 79 |t good e|nough, y|
|000019e0| 6f 75 27 6c 6c 20 68 61 | 76 65 20 74 6f 20 63 68 |ou'll ha|ve to ch|
|000019f0| 61 6e 67 65 20 69 74 20 | 79 6f 75 72 73 65 6c 66 |ange it |yourself|
|00001a00| 2e 00 3b 20 57 65 27 6c | 6c 20 74 72 79 20 74 6f |..; We'l|l try to|
|00001a10| 20 77 72 69 74 65 20 61 | 20 66 61 73 74 65 72 20 | write a| faster |
|00001a20| 72 6f 75 74 69 6e 65 20 | 73 6f 6f 6e 2e 2e 2e 00 |routine |soon....|
|00001a30| 00 3b 20 43 68 61 6e 67 | 65 73 20 66 72 6f 6d 20 |.; Chang|es from |
|00001a40| 56 31 2e 30 43 20 70 6c | 61 79 72 6f 75 74 69 6e |V1.0C pl|ayroutin|
|00001a50| 65 3a 00 3b 20 2d 20 56 | 69 62 72 61 74 6f 20 64 |e:.; - V|ibrato d|
|00001a60| 65 70 74 68 20 63 68 61 | 6e 67 65 64 20 74 6f 20 |epth cha|nged to |
|00001a70| 62 65 20 63 6f 6d 70 61 | 74 69 62 6c 65 20 77 69 |be compa|tible wi|
|00001a80| 74 68 20 4e 6f 69 73 65 | 74 72 61 63 6b 65 72 20 |th Noise|tracker |
|00001a90| 32 2e 30 2e 00 3b 20 20 | 20 59 6f 75 27 6c 6c 20 |2.0..; | You'll |
|00001aa0| 68 61 76 65 20 74 6f 20 | 64 6f 75 62 6c 65 20 61 |have to |double a|
|00001ab0| 6c 6c 20 76 69 62 2e 20 | 64 65 70 74 68 73 20 6f |ll vib. |depths o|
|00001ac0| 6e 20 6f 6c 64 20 50 54 | 20 6d 6f 64 75 6c 65 73 |n old PT| modules|
|00001ad0| 2e 00 3b 20 2d 20 46 75 | 6e 6b 20 52 65 70 65 61 |..; - Fu|nk Repea|
|00001ae0| 74 20 63 68 61 6e 67 65 | 64 20 74 6f 20 49 6e 76 |t change|d to Inv|
|00001af0| 65 72 74 20 4c 6f 6f 70 | 2e 00 3b 20 2d 20 50 65 |ert Loop|..; - Pe|
|00001b00| 72 69 6f 64 20 73 65 74 | 20 62 61 63 6b 20 65 61 |riod set| back ea|
|00001b10| 72 6c 69 65 72 20 77 68 | 65 6e 20 73 74 6f 70 70 |rlier wh|en stopp|
|00001b20| 69 6e 67 20 61 6e 20 65 | 66 66 65 63 74 2e 00 00 |ing an e|ffect...|
|00001b30| 3b 2d 2d 2d 2d 20 43 49 | 41 20 49 6e 74 65 72 72 |;---- CI|A Interr|
|00001b40| 75 70 74 20 2d 2d 2d 2d | 00 00 23 41 64 64 49 43 |upt ----|..#AddIC|
|00001b50| 52 56 65 63 74 6f 72 20 | 20 3d 20 20 20 2d 36 00 |RVector | = -6.|
|00001b60| 23 52 65 6d 49 43 52 56 | 65 63 74 6f 72 20 20 3d |#RemICRV|ector =|
|00001b70| 20 20 2d 31 32 00 23 4c | 56 4f 4f 70 65 6e 52 65 | -12.#L|VOOpenRe|
|00001b80| 73 6f 75 72 63 65 20 3d | 20 2d 34 39 38 00 23 4c |source =| -498.#L|
|00001b90| 56 4f 4f 70 65 6e 4c 69 | 62 72 61 72 79 20 20 3d |VOOpenLi|brary =|
|00001ba0| 20 2d 35 35 32 00 23 4c | 56 4f 43 6c 6f 73 65 4c | -552.#L|VOCloseL|
|00001bb0| 69 62 72 61 72 79 20 3d | 20 2d 34 31 34 00 23 4c |ibrary =| -414.#L|
|00001bc0| 56 4f 44 65 6c 61 79 20 | 20 3d 20 2d 31 39 38 00 |VODelay | = -198.|
|00001bd0| 00 23 63 69 61 74 61 6c | 6f 20 3d 20 24 34 30 30 |.#ciatal|o = $400|
|00001be0| 00 23 63 69 61 74 61 68 | 69 20 3d 20 24 35 30 30 |.#ciatah|i = $500|
|00001bf0| 00 23 63 69 61 74 62 6c | 6f 20 3d 20 24 36 30 30 |.#ciatbl|o = $600|
|00001c00| 00 23 63 69 61 74 62 68 | 69 20 3d 20 24 37 30 30 |.#ciatbh|i = $700|
|00001c10| 00 23 63 69 61 63 72 61 | 20 20 3d 20 24 45 30 30 |.#ciacra| = $E00|
|00001c20| 00 23 63 69 61 63 72 62 | 20 20 3d 20 24 46 30 30 |.#ciacrb| = $F00|
|00001c30| 00 00 2e 53 65 74 43 49 | 41 49 6e 74 00 20 20 80 |...SetCI|AInt. .|
|00001c40| 81 20 23 32 2c 44 36 00 | 20 20 80 7e 2e 42 20 20 |. #2,D6.| .~.B |
|00001c50| 23 39 38 2c 43 49 41 41 | 6e 61 6d 65 2b 33 00 20 |#98,CIAA|name+3. |
|00001c60| 20 80 7a 20 24 42 46 44 | 30 30 30 2c 41 35 00 53 | .z $BFD|000,A5.S|
|00001c70| 65 74 43 49 41 4c 6f 6f | 70 00 20 20 80 81 20 23 |etCIALoo|p. .. #|
|00001c80| 30 2c 44 30 00 20 20 80 | 7a 20 43 49 41 41 6e 61 |0,D0. .|z CIAAna|
|00001c90| 6d 65 28 50 43 29 2c 41 | 31 00 20 20 80 7e 2e 4c |me(PC),A|1. .~.L|
|00001ca0| 20 20 34 2c 41 36 00 20 | 20 80 79 20 4c 56 4f 4f | 4,A6. | .y LVOO|
|00001cb0| 70 65 6e 52 65 73 6f 75 | 72 63 65 28 41 36 29 00 |penResou|rce(A6).|
|00001cc0| 20 20 80 7e 2e 4c 20 20 | 44 30 2c 43 49 41 41 62 | .~.L |D0,CIAAb|
|00001cd0| 61 73 65 00 20 20 80 48 | 20 6d 74 5f 52 65 74 75 |ase. .H| mt_Retu|
|00001ce0| 72 6e 00 00 20 20 80 7a | 20 47 66 78 4e 61 6d 65 |rn.. .z| GfxName|
|00001cf0| 28 50 43 29 2c 41 31 00 | 20 20 80 81 20 23 30 2c |(PC),A1.| .. #0,|
|00001d00| 44 30 00 20 20 80 79 20 | 4c 56 4f 4f 70 65 6e 4c |D0. .y |LVOOpenL|
|00001d10| 69 62 72 61 72 79 28 41 | 36 29 00 20 20 80 b0 2e |ibrary(A|6). ...|
|00001d20| 4c 20 44 30 00 20 20 80 | 48 20 52 65 73 65 74 43 |L D0. .|H ResetC|
|00001d30| 49 41 49 6e 74 00 20 20 | 80 7e 2e 4c 20 20 44 30 |IAInt. |.~.L D0|
|00001d40| 2c 41 31 00 20 20 80 7e | 2e 57 20 20 32 30 36 28 |,A1. .~|.W 206(|
|00001d50| 41 31 29 2c 44 30 20 20 | 3b 20 44 69 73 70 6c 61 |A1),D0 |; Displa|
|00001d60| 79 46 6c 61 67 73 00 20 | 20 80 57 20 20 23 32 2c |yFlags. | .W #2,|
|00001d70| 44 30 20 20 20 3b 20 50 | 41 4c 3f 00 20 20 80 48 |D0 ; P|AL?. .H|
|00001d80| 20 57 61 73 4e 54 53 43 | 00 20 20 80 7e 2e 4c 20 | WasNTSC|. .~.L |
|00001d90| 20 23 31 37 37 33 34 34 | 37 2c 44 37 20 3b 20 50 | #177344|7,D7 ; P|
|00001da0| 41 4c 00 20 20 80 58 20 | 73 63 69 61 73 6b 00 57 |AL. .X |sciask.W|
|00001db0| 61 73 4e 54 53 43 3a 00 | 20 20 80 7e 2e 4c 20 20 |asNTSC:.| .~.L |
|00001dc0| 23 31 37 38 39 37 37 33 | 2c 44 37 20 3b 20 4e 54 |#1789773|,D7 ; NT|
|00001dd0| 53 43 00 73 63 69 61 73 | 6b 3a 00 20 20 80 7e 2e |SC.scias|k:. .~.|
|00001de0| 4c 20 20 44 37 2c 54 69 | 6d 65 72 56 61 6c 75 65 |L D7,Ti|merValue|
|00001df0| 00 20 20 80 72 20 20 23 | 31 32 35 2c 44 37 20 3b |. .r #|125,D7 ;|
|00001e00| 20 44 65 66 61 75 6c 74 | 20 74 6f 20 6e 6f 72 6d | Default| to norm|
|00001e10| 61 6c 20 35 30 20 48 7a | 20 74 69 6d 65 72 00 20 |al 50 Hz| timer. |
|00001e20| 20 80 79 20 4c 56 4f 43 | 6c 6f 73 65 4c 69 62 72 | .y LVOC|loseLibr|
|00001e30| 61 72 79 28 41 36 29 00 | 00 20 20 80 7e 2e 4c 20 |ary(A6).|. .~.L |
|00001e40| 20 43 49 41 41 62 61 73 | 65 28 50 43 29 2c 41 36 | CIAAbas|e(PC),A6|
|00001e50| 00 20 20 80 5c 2e 57 20 | 23 32 2c 44 36 00 20 20 |. .\.W |#2,D6. |
|00001e60| 80 48 20 54 72 79 54 69 | 6d 65 72 41 00 54 72 79 |.H TryTi|merA.Try|
|00001e70| 54 69 6d 65 72 42 00 20 | 20 80 7a 20 4d 75 73 69 |TimerB. | .z Musi|
|00001e80| 63 49 6e 74 53 65 72 76 | 65 72 28 50 43 29 2c 41 |cIntServ|er(PC),A|
|00001e90| 31 00 20 20 80 81 20 23 | 31 2c 44 30 20 3b 20 42 |1. .. #|1,D0 ; B|
|00001ea0| 69 74 20 31 3a 20 54 69 | 6d 65 72 20 42 00 20 20 |it 1: Ti|mer B. |
|00001eb0| 80 79 20 41 64 64 49 43 | 52 56 65 63 74 6f 72 28 |.y AddIC|RVector(|
|00001ec0| 41 36 29 00 20 20 80 7e | 2e 4c 20 20 23 31 2c 54 |A6). .~|.L #1,T|
|00001ed0| 69 6d 65 72 46 6c 61 67 | 00 20 20 80 b0 2e 4c 20 |imerFlag|. ...L |
|00001ee0| 44 30 00 20 20 80 50 20 | 43 49 41 45 72 72 6f 72 |D0. .P |CIAError|
|00001ef0| 00 20 20 80 7e 2e 4c 20 | 20 41 35 2c 43 49 41 41 |. .~.L | A5,CIAA|
|00001f00| 61 64 64 72 00 20 20 80 | 7e 2e 42 20 20 44 37 2c |addr. .|~.B D7,|
|00001f10| 63 69 61 74 62 6c 6f 28 | 41 35 29 00 20 20 80 7d |ciatblo(|A5). .}|
|00001f20| 2e 57 20 23 38 2c 44 37 | 00 20 20 80 7e 2e 42 20 |.W #8,D7|. .~.B |
|00001f30| 20 44 37 2c 63 69 61 74 | 62 68 69 28 41 35 29 00 | D7,ciat|bhi(A5).|
|00001f40| 20 20 80 56 20 20 23 30 | 2c 63 69 61 63 72 62 28 | .V #0|,ciacrb(|
|00001f50| 41 35 29 00 20 20 80 94 | 00 00 54 72 79 54 69 6d |A5). ..|..TryTim|
|00001f60| 65 72 41 00 20 20 80 7a | 20 4d 75 73 69 63 49 6e |erA. .z| MusicIn|
|00001f70| 74 53 65 72 76 65 72 28 | 50 43 29 2c 41 31 00 20 |tServer(|PC),A1. |
|00001f80| 20 80 81 20 23 30 2c 44 | 30 20 3b 20 42 69 74 20 | .. #0,D|0 ; Bit |
|00001f90| 30 3a 20 54 69 6d 65 72 | 20 41 00 20 20 80 79 20 |0: Timer| A. .y |
|00001fa0| 41 64 64 49 43 52 56 65 | 63 74 6f 72 28 41 36 29 |AddICRVe|ctor(A6)|
|00001fb0| 00 20 20 80 5b 2e 4c 20 | 54 69 6d 65 72 46 6c 61 |. .[.L |TimerFla|
|00001fc0| 67 00 20 20 80 b0 2e 4c | 20 44 30 00 20 20 80 50 |g. ...L| D0. .P|
|00001fd0| 20 43 49 41 45 72 72 6f | 72 00 20 20 80 7e 2e 4c | CIAErro|r. .~.L|
|00001fe0| 20 20 41 35 2c 43 49 41 | 41 61 64 64 72 00 20 20 | A5,CIA|Aaddr. |
|00001ff0| 80 7e 2e 42 20 20 44 37 | 2c 63 69 61 74 61 6c 6f |.~.B D7|,ciatalo|
|00002000| 28 41 35 29 00 20 20 80 | 7d 2e 57 20 23 38 2c 44 |(A5). .|}.W #8,D|
|00002010| 37 00 20 20 80 7e 2e 42 | 20 20 44 37 2c 63 69 61 |7. .~.B| D7,cia|
|00002020| 74 61 68 69 28 41 35 29 | 00 20 20 80 56 20 20 23 |tahi(A5)|. .V #|
|00002030| 30 2c 63 69 61 63 72 61 | 28 41 35 29 00 20 20 80 |0,ciacra|(A5). .|
|00002040| 94 00 00 43 49 41 45 72 | 72 6f 72 00 20 20 80 7e |...CIAEr|ror. .~|
|00002050| 2e 42 20 20 23 39 37 2c | 43 49 41 41 6e 61 6d 65 |.B #97,|CIAAname|
|00002060| 2b 33 00 20 20 80 7a 20 | 24 42 46 45 30 30 31 2c |+3. .z |$BFE001,|
|00002070| 41 35 00 20 20 80 aa 2e | 57 20 20 23 31 2c 44 36 |A5. ...|W #1,D6|
|00002080| 00 20 20 80 50 20 53 65 | 74 43 49 41 4c 6f 6f 70 |. .P Se|tCIALoop|
|00002090| 00 20 20 80 5b 2e 4c 20 | 43 49 41 41 62 61 73 65 |. .[.L |CIAAbase|
|000020a0| 00 20 20 80 94 00 00 2e | 52 65 73 65 74 43 49 41 |. .....|ResetCIA|
|000020b0| 49 6e 74 00 20 20 80 7e | 2e 4c 20 20 43 49 41 41 |Int. .~|.L CIAA|
|000020c0| 62 61 73 65 28 50 43 29 | 2c 44 30 00 20 20 80 48 |base(PC)|,D0. .H|
|000020d0| 20 6d 74 5f 52 65 74 75 | 72 6e 00 20 20 80 5b 2e | mt_Retu|rn. .[.|
|000020e0| 4c 20 43 49 41 41 62 61 | 73 65 00 20 20 80 7e 2e |L CIAAba|se. .~.|
|000020f0| 4c 20 20 44 30 2c 41 36 | 00 20 20 80 7e 2e 4c 20 |L D0,A6|. .~.L |
|00002100| 20 43 49 41 41 61 64 64 | 72 28 50 43 29 2c 41 35 | CIAAadd|r(PC),A5|
|00002110| 00 20 20 80 b0 2e 4c 20 | 54 69 6d 65 72 46 6c 61 |. ...L |TimerFla|
|00002120| 67 00 20 20 80 48 20 52 | 65 73 54 69 6d 65 72 41 |g. .H R|esTimerA|
|00002130| 00 00 20 20 80 55 20 20 | 23 30 2c 63 69 61 63 72 |.. .U |#0,ciacr|
|00002140| 62 28 41 35 29 00 20 20 | 80 81 20 23 31 2c 44 30 |b(A5). |.. #1,D0|
|00002150| 00 20 20 80 58 20 52 65 | 6d 49 6e 74 00 00 52 65 |. .X Re|mInt..Re|
|00002160| 73 54 69 6d 65 72 41 00 | 20 20 80 55 20 20 23 30 |sTimerA.| .U #0|
|00002170| 2c 63 69 61 63 72 61 28 | 41 35 29 00 20 20 80 81 |,ciacra(|A5). ..|
|00002180| 20 23 30 2c 44 30 00 52 | 65 6d 49 6e 74 3a 20 20 | #0,D0.R|emInt: |
|00002190| 80 7a 20 4d 75 73 69 63 | 49 6e 74 53 65 72 76 65 |.z Music|IntServe|
|000021a0| 72 28 50 43 29 2c 41 31 | 00 20 20 80 81 20 23 30 |r(PC),A1|. .. #0|
|000021b0| 2c 64 30 00 20 20 80 79 | 20 52 65 6d 49 43 52 56 |,d0. .y| RemICRV|
|000021c0| 65 63 74 6f 72 28 41 36 | 29 00 20 20 80 94 00 00 |ector(A6|). ....|
|000021d0| 3b 2d 2d 2d 2d 20 54 65 | 6d 70 6f 20 2d 2d 2d 2d |;---- Te|mpo ----|
|000021e0| 00 00 53 65 74 54 65 6d | 70 6f 00 20 20 80 7e 2e |..SetTem|po. .~.|
|000021f0| 4c 20 20 43 49 41 41 62 | 61 73 65 28 50 43 29 2c |L CIAAb|ase(PC),|
|00002200| 44 32 00 20 20 80 48 20 | 6d 74 5f 52 65 74 75 72 |D2. .H |mt_Retur|
|00002210| 6e 00 20 20 80 5c 2e 57 | 20 23 33 32 2c 44 30 00 |n. .\.W| #32,D0.|
|00002220| 20 20 80 46 20 73 65 74 | 65 6d 73 6b 00 20 20 80 | .F set|emsk. .|
|00002230| 81 20 23 33 32 2c 44 30 | 00 73 65 74 65 6d 73 6b |. #32,D0|.setemsk|
|00002240| 3a 20 80 7e 2e 57 20 20 | 44 30 2c 52 65 61 6c 54 |: .~.W |D0,RealT|
|00002250| 65 6d 70 6f 00 20 20 80 | 7e 2e 4c 20 20 54 69 6d |empo. .|~.L Tim|
|00002260| 65 72 56 61 6c 75 65 28 | 50 43 29 2c 44 32 00 20 |erValue(|PC),D2. |
|00002270| 20 80 72 20 20 44 30 2c | 44 32 00 20 20 80 7e 2e | .r D0,|D2. .~.|
|00002280| 4c 20 20 43 49 41 41 61 | 64 64 72 28 50 43 29 2c |L CIAAa|ddr(PC),|
|00002290| 41 34 00 20 20 80 7e 2e | 4c 20 20 54 69 6d 65 72 |A4. .~.|L Timer|
|000022a0| 46 6c 61 67 28 50 43 29 | 2c 44 30 00 20 20 80 48 |Flag(PC)|,D0. .H|
|000022b0| 20 53 65 74 54 65 6d 41 | 00 20 20 80 7e 2e 42 20 | SetTemA|. .~.B |
|000022c0| 20 44 32 2c 63 69 61 74 | 62 6c 6f 28 41 34 29 00 | D2,ciat|blo(A4).|
|000022d0| 20 20 80 7d 2e 57 20 23 | 38 2c 44 32 00 20 20 80 | .}.W #|8,D2. .|
|000022e0| 7e 2e 42 20 20 44 32 2c | 63 69 61 74 62 68 69 28 |~.B D2,|ciatbhi(|
|000022f0| 41 34 29 00 20 20 80 94 | 00 00 53 65 74 54 65 6d |A4). ..|..SetTem|
|00002300| 41 3a 20 80 7e 2e 42 20 | 20 44 32 2c 63 69 61 74 |A: .~.B | D2,ciat|
|00002310| 61 6c 6f 28 41 34 29 00 | 20 20 80 7d 2e 57 20 23 |alo(A4).| .}.W #|
|00002320| 38 2c 44 32 00 20 20 80 | 7e 2e 42 20 20 44 32 2c |8,D2. .|~.B D2,|
|00002330| 63 69 61 74 61 68 69 28 | 41 34 29 00 20 20 80 94 |ciatahi(|A4). ..|
|00002340| 00 00 52 65 61 6c 54 65 | 6d 70 6f 3a 20 80 25 2e |..RealTe|mpo: .%.|
|00002350| 77 20 31 32 35 00 43 49 | 41 41 61 64 64 72 3a 20 |w 125.CI|AAaddr: |
|00002360| 20 80 25 2e 6c 20 30 00 | 43 49 41 41 6e 61 6d 65 | .%.l 0.|CIAAname|
|00002370| 3a 20 20 80 25 2e 62 20 | 22 63 69 61 61 2e 72 65 |: .%.b |"ciaa.re|
|00002380| 73 6f 75 72 63 65 22 2c | 30 00 80 27 00 43 49 41 |source",|0..'.CIA|
|00002390| 41 62 61 73 65 3a 20 20 | 80 25 2e 6c 20 30 00 54 |Abase: |.%.l 0.T|
|000023a0| 69 6d 65 72 46 6c 61 67 | 3a 20 80 25 2e 6c 20 30 |imerFlag|: .%.l 0|
|000023b0| 00 54 69 6d 65 72 56 61 | 6c 75 65 3a 20 20 80 25 |.TimerVa|lue: .%|
|000023c0| 2e 6c 20 30 00 6d 74 5f | 64 61 74 61 3a 20 20 20 |.l 0.mt_|data: |
|000023d0| 80 25 2e 6c 20 30 00 47 | 66 78 4e 61 6d 65 3a 20 |.%.l 0.G|fxName: |
|000023e0| 20 20 80 25 2e 62 20 22 | 67 72 61 70 68 69 63 73 | .%.b "|graphics|
|000023f0| 2e 6c 69 62 72 61 72 79 | 22 2c 30 2c 30 00 80 27 |.library|",0,0..'|
|00002400| 00 00 4d 75 73 69 63 49 | 6e 74 53 65 72 76 65 72 |..MusicI|ntServer|
|00002410| 00 20 20 80 25 2e 6c 20 | 30 2c 30 00 20 20 80 25 |. .%.l |0,0. .%|
|00002420| 2e 62 20 32 2c 35 20 3b | 20 74 79 70 65 2c 20 70 |.b 2,5 ;| type, p|
|00002430| 72 69 6f 72 69 74 79 00 | 20 20 80 25 2e 6c 20 6d |riority.| .%.l m|
|00002440| 75 73 69 6e 74 6e 61 6d | 65 00 20 20 80 25 2e 6c |usintnam|e. .%.l|
|00002450| 20 30 2c 6d 74 5f 6d 75 | 73 69 63 00 00 6d 75 73 | 0,mt_mu|sic..mus|
|00002460| 69 6e 74 6e 61 6d 65 3a | 20 20 80 25 2e 62 20 22 |intname:| .%.b "|
|00002470| 50 72 6f 74 72 61 63 6b | 65 72 20 4d 75 73 69 63 |Protrack|er Music|
|00002480| 49 6e 74 22 2c 30 00 80 | 27 00 3b 2d 2d 2d 2d 20 |Int",0..|'.;---- |
|00002490| 50 6c 61 79 72 6f 75 74 | 69 6e 65 20 2d 2d 2d 2d |Playrout|ine ----|
|000024a0| 00 00 23 6e 5f 6e 6f 74 | 65 20 20 20 20 3d 20 30 |..#n_not|e = 0|
|000024b0| 20 20 3b 20 57 00 23 6e | 5f 63 6d 64 20 20 20 3d | ; W.#n|_cmd =|
|000024c0| 20 32 20 20 3b 20 57 00 | 23 6e 5f 63 6d 64 6c 6f | 2 ; W.|#n_cmdlo|
|000024d0| 20 20 20 3d 20 33 20 20 | 3b 20 42 00 23 6e 5f 73 | = 3 |; B.#n_s|
|000024e0| 74 61 72 74 20 20 20 3d | 20 34 20 20 3b 20 4c 00 |tart =| 4 ; L.|
|000024f0| 23 6e 5f 6c 65 6e 67 74 | 68 20 20 3d 20 38 20 20 |#n_lengt|h = 8 |
|00002500| 3b 20 57 00 23 6e 5f 6c | 6f 6f 70 73 74 61 72 74 |; W.#n_l|oopstart|
|00002510| 20 3d 20 31 30 20 3b 20 | 4c 00 23 6e 5f 72 65 70 | = 10 ; |L.#n_rep|
|00002520| 6c 65 6e 20 20 3d 20 31 | 34 20 3b 20 57 00 23 6e |len = 1|4 ; W.#n|
|00002530| 5f 70 65 72 69 6f 64 20 | 20 3d 20 31 36 20 3b 20 |_period | = 16 ; |
|00002540| 57 00 23 6e 5f 66 69 6e | 65 74 75 6e 65 20 20 3d |W.#n_fin|etune =|
|00002550| 20 31 38 20 3b 20 42 00 | 23 6e 5f 76 6f 6c 75 6d | 18 ; B.|#n_volum|
|00002560| 65 20 20 3d 20 31 39 20 | 3b 20 42 00 23 6e 5f 64 |e = 19 |; B.#n_d|
|00002570| 6d 61 62 69 74 20 20 3d | 20 32 30 20 3b 20 57 00 |mabit =| 20 ; W.|
|00002580| 23 6e 5f 74 6f 6e 65 70 | 6f 72 74 64 69 72 65 63 |#n_tonep|ortdirec|
|00002590| 20 3d 20 32 32 20 3b 20 | 42 00 23 6e 5f 74 6f 6e | = 22 ; |B.#n_ton|
|000025a0| 65 70 6f 72 74 73 70 65 | 65 64 20 3d 20 32 33 20 |eportspe|ed = 23 |
|000025b0| 3b 20 42 00 23 6e 5f 77 | 61 6e 74 65 64 70 65 72 |; B.#n_w|antedper|
|000025c0| 69 6f 64 20 20 3d 20 32 | 34 20 3b 20 57 00 23 6e |iod = 2|4 ; W.#n|
|000025d0| 5f 76 69 62 72 61 74 6f | 63 6d 64 20 20 3d 20 32 |_vibrato|cmd = 2|
|000025e0| 36 20 3b 20 42 00 23 6e | 5f 76 69 62 72 61 74 6f |6 ; B.#n|_vibrato|
|000025f0| 70 6f 73 20 20 3d 20 32 | 37 20 3b 20 42 00 23 6e |pos = 2|7 ; B.#n|
|00002600| 5f 74 72 65 6d 6f 6c 6f | 63 6d 64 20 20 3d 20 32 |_tremolo|cmd = 2|
|00002610| 38 20 3b 20 42 00 23 6e | 5f 74 72 65 6d 6f 6c 6f |8 ; B.#n|_tremolo|
|00002620| 70 6f 73 20 20 3d 20 32 | 39 20 3b 20 42 00 23 6e |pos = 2|9 ; B.#n|
|00002630| 5f 77 61 76 65 63 6f 6e | 74 72 6f 6c 20 3d 20 33 |_wavecon|trol = 3|
|00002640| 30 20 3b 20 42 00 23 6e | 5f 67 6c 69 73 73 66 75 |0 ; B.#n|_glissfu|
|00002650| 6e 6b 20 3d 20 33 31 20 | 3b 20 42 00 23 6e 5f 73 |nk = 31 |; B.#n_s|
|00002660| 61 6d 70 6c 65 6f 66 66 | 73 65 74 20 20 3d 20 33 |ampleoff|set = 3|
|00002670| 32 20 3b 20 42 00 23 6e | 5f 70 61 74 74 70 6f 73 |2 ; B.#n|_pattpos|
|00002680| 20 3d 20 33 33 20 3b 20 | 42 00 23 6e 5f 6c 6f 6f | = 33 ; |B.#n_loo|
|00002690| 70 63 6f 75 6e 74 20 3d | 20 33 34 20 3b 20 42 00 |pcount =| 34 ; B.|
|000026a0| 23 6e 5f 66 75 6e 6b 6f | 66 66 73 65 74 20 20 3d |#n_funko|ffset =|
|000026b0| 20 33 35 20 3b 20 42 00 | 23 6e 5f 77 61 76 65 73 | 35 ; B.|#n_waves|
|000026c0| 74 61 72 74 20 3d 20 33 | 36 20 3b 20 4c 00 23 6e |tart = 3|6 ; L.#n|
|000026d0| 5f 72 65 61 6c 6c 65 6e | 67 74 68 20 20 3d 20 34 |_reallen|gth = 4|
|000026e0| 30 20 3b 20 57 00 00 2e | 6d 74 5f 69 6e 69 74 3a |0 ; W...|mt_init:|
|000026f0| 00 20 20 80 7e 2e 6c 20 | 6d 74 5f 64 61 74 61 2c |. .~.l |mt_data,|
|00002700| 41 30 00 20 20 80 7e 2e | 4c 20 20 41 30 2c 6d 74 |A0. .~.|L A0,mt|
|00002710| 5f 53 6f 6e 67 44 61 74 | 61 50 74 72 00 20 20 80 |_SongDat|aPtr. .|
|00002720| 7e 2e 4c 20 20 41 30 2c | 41 31 00 20 20 80 7a 20 |~.L A0,|A1. .z |
|00002730| 39 35 32 28 41 31 29 2c | 41 31 00 20 20 80 81 20 |952(A1),|A1. .. |
|00002740| 23 31 32 37 2c 44 30 00 | 20 20 80 81 20 23 30 2c |#127,D0.| .. #0,|
|00002750| 44 31 00 6d 74 6c 6f 6f | 70 3a 00 20 20 80 7e 2e |D1.mtloo|p:. .~.|
|00002760| 4c 20 20 44 31 2c 44 32 | 00 20 20 80 aa 2e 57 20 |L D1,D2|. ...W |
|00002770| 20 23 31 2c 44 30 00 6d | 74 6c 6f 6f 70 32 3a 00 | #1,D0.m|tloop2:.|
|00002780| 20 20 80 7e 2e 42 20 20 | 28 41 31 29 2b 2c 44 31 | .~.B |(A1)+,D1|
|00002790| 00 20 20 80 5c 2e 42 20 | 44 32 2c 44 31 00 20 20 |. .\.B |D2,D1. |
|000027a0| 80 4a 20 6d 74 6c 6f 6f | 70 00 20 20 80 6f 20 20 |.J mtloo|p. .o |
|000027b0| 44 30 2c 6d 74 6c 6f 6f | 70 32 00 20 20 80 40 2e |D0,mtloo|p2. .@.|
|000027c0| 42 20 20 23 31 2c 44 32 | 00 00 20 20 80 7a 20 6d |B #1,D2|.. .z m|
|000027d0| 74 5f 53 61 6d 70 6c 65 | 53 74 61 72 74 73 28 50 |t_Sample|Starts(P|
|000027e0| 43 29 2c 41 31 00 20 20 | 80 44 2e 4c 20 23 38 2c |C),A1. |.D.L #8,|
|000027f0| 44 32 00 20 20 80 44 2e | 4c 20 23 32 2c 44 32 00 |D2. .D.|L #2,D2.|
|00002800| 20 20 80 3d 2e 4c 20 23 | 31 30 38 34 2c 44 32 00 | .=.L #|1084,D2.|
|00002810| 20 20 80 3d 2e 4c 20 41 | 30 2c 44 32 00 20 20 80 | .=.L A|0,D2. .|
|00002820| 7e 2e 4c 20 20 44 32 2c | 41 32 00 20 20 80 81 20 |~.L D2,|A2. .. |
|00002830| 23 33 30 2c 44 30 00 6d | 74 6c 6f 6f 70 33 3a 00 |#30,D0.m|tloop3:.|
|00002840| 20 20 80 5b 2e 4c 20 28 | 41 32 29 00 20 20 80 7e | .[.L (|A2). .~|
|00002850| 2e 4c 20 20 41 32 2c 28 | 41 31 29 2b 00 20 20 80 |.L A2,(|A1)+. .|
|00002860| 81 20 23 30 2c 44 31 00 | 20 20 80 7e 2e 57 20 20 |. #0,D1.| .~.W |
|00002870| 34 32 28 41 30 29 2c 44 | 31 00 20 20 80 44 2e 4c |42(A0),D|1. .D.L|
|00002880| 20 23 31 2c 44 31 00 20 | 20 80 3d 2e 4c 20 44 31 | #1,D1. | .=.L D1|
|00002890| 2c 41 32 00 20 20 80 3d | 2e 4c 20 23 33 30 2c 41 |,A2. .=|.L #30,A|
|000028a0| 30 00 20 20 80 6f 20 20 | 44 30 2c 6d 74 6c 6f 6f |0. .o |D0,mtloo|
|000028b0| 70 33 00 00 20 20 80 8a | 2e 42 20 20 23 32 2c 24 |p3.. ..|.B #2,$|
|000028c0| 42 46 45 30 30 31 00 20 | 20 80 7e 2e 42 20 20 23 |BFE001. | .~.B #|
|000028d0| 36 2c 6d 74 5f 73 70 65 | 65 64 00 20 20 80 5b 2e |6,mt_spe|ed. .[.|
|000028e0| 42 20 6d 74 5f 63 6f 75 | 6e 74 65 72 00 20 20 80 |B mt_cou|nter. .|
|000028f0| 5b 2e 42 20 6d 74 5f 53 | 6f 6e 67 50 6f 73 00 20 |[.B mt_S|ongPos. |
|00002900| 20 80 5b 2e 57 20 6d 74 | 5f 50 61 74 74 65 72 6e | .[.W mt|_Pattern|
|00002910| 50 6f 73 00 00 2e 6d 74 | 5f 65 6e 64 3a 00 20 20 |Pos...mt|_end:. |
|00002920| 80 a5 20 20 6d 74 5f 45 | 6e 61 62 6c 65 00 20 20 |.. mt_E|nable. |
|00002930| 80 7a 20 24 44 46 46 30 | 30 30 2c 41 30 00 20 20 |.z $DFF0|00,A0. |
|00002940| 80 5b 2e 57 20 24 41 38 | 28 41 30 29 00 20 20 80 |.[.W $A8|(A0). .|
|00002950| 5b 2e 57 20 24 42 38 28 | 41 30 29 00 20 20 80 5b |[.W $B8(|A0). .[|
|00002960| 2e 57 20 24 43 38 28 41 | 30 29 00 20 20 80 5b 2e |.W $C8(A|0). .[.|
|00002970| 57 20 24 44 38 28 41 30 | 29 00 20 20 80 7e 2e 57 |W $D8(A0|). .~.W|
|00002980| 20 20 23 24 46 2c 24 44 | 46 46 30 39 36 00 20 20 | #$F,$D|FF096. |
|00002990| 80 94 00 00 2e 6d 74 5f | 6d 75 73 69 63 00 20 20 |.....mt_|music. |
|000029a0| 80 82 2e 4c 20 44 30 2d | 44 34 2f 41 30 2d 41 36 |...L D0-|D4/A0-A6|
|000029b0| 2c 2d 28 41 37 29 00 20 | 20 80 b0 2e 42 20 6d 74 |,-(A7). | ...B mt|
|000029c0| 5f 45 6e 61 62 6c 65 00 | 20 20 80 48 20 6d 74 5f |_Enable.| .H mt_|
|000029d0| 65 78 69 74 00 20 20 80 | 40 2e 42 20 20 23 31 2c |exit. .|@.B #1,|
|000029e0| 6d 74 5f 63 6f 75 6e 74 | 65 72 00 20 20 80 7e 2e |mt_count|er. .~.|
|000029f0| 42 20 20 6d 74 5f 63 6f | 75 6e 74 65 72 28 50 43 |B mt_co|unter(PC|
|00002a00| 29 2c 44 30 00 20 20 80 | 5c 2e 42 20 6d 74 5f 73 |),D0. .|\.B mt_s|
|00002a10| 70 65 65 64 28 50 43 29 | 2c 44 30 00 20 20 80 47 |peed(PC)|,D0. .G|
|00002a20| 20 6d 74 5f 4e 6f 4e 65 | 77 4e 6f 74 65 00 20 20 | mt_NoNe|wNote. |
|00002a30| 80 5b 2e 42 20 6d 74 5f | 63 6f 75 6e 74 65 72 00 |.[.B mt_|counter.|
|00002a40| 20 20 80 b0 2e 42 20 6d | 74 5f 50 61 74 74 44 65 | ...B m|t_PattDe|
|00002a50| 6c 54 69 6d 65 32 00 20 | 20 80 48 20 6d 74 5f 47 |lTime2. | .H mt_G|
|00002a60| 65 74 4e 65 77 4e 6f 74 | 65 00 20 20 80 59 20 6d |etNewNot|e. .Y m|
|00002a70| 74 5f 4e 6f 4e 65 77 41 | 6c 6c 43 68 61 6e 6e 65 |t_NoNewA|llChanne|
|00002a80| 6c 73 00 20 20 80 58 20 | 6d 74 5f 64 73 6b 69 70 |ls. .X |mt_dskip|
|00002a90| 00 00 6d 74 5f 4e 6f 4e | 65 77 4e 6f 74 65 00 20 |..mt_NoN|ewNote. |
|00002aa0| 20 80 59 20 6d 74 5f 4e | 6f 4e 65 77 41 6c 6c 43 | .Y mt_N|oNewAllC|
|00002ab0| 68 61 6e 6e 65 6c 73 00 | 20 20 80 58 20 6d 74 5f |hannels.| .X mt_|
|00002ac0| 4e 6f 4e 65 77 50 6f 73 | 59 65 74 00 00 6d 74 5f |NoNewPos|Yet..mt_|
|00002ad0| 4e 6f 4e 65 77 41 6c 6c | 43 68 61 6e 6e 65 6c 73 |NoNewAll|Channels|
|00002ae0| 00 20 20 80 7a 20 24 44 | 46 46 30 41 30 2c 41 35 |. .z $D|FF0A0,A5|
|00002af0| 00 20 20 80 7a 20 6d 74 | 5f 63 68 61 6e 31 74 65 |. .z mt|_chan1te|
|00002b00| 6d 70 28 50 43 29 2c 41 | 36 00 20 20 80 59 20 6d |mp(PC),A|6. .Y m|
|00002b10| 74 5f 43 68 65 63 6b 45 | 66 78 00 20 20 80 7a 20 |t_CheckE|fx. .z |
|00002b20| 24 44 46 46 30 42 30 2c | 41 35 00 20 20 80 7a 20 |$DFF0B0,|A5. .z |
|00002b30| 6d 74 5f 63 68 61 6e 32 | 74 65 6d 70 28 50 43 29 |mt_chan2|temp(PC)|
|00002b40| 2c 41 36 00 20 20 80 59 | 20 6d 74 5f 43 68 65 63 |,A6. .Y| mt_Chec|
|00002b50| 6b 45 66 78 00 20 20 80 | 7a 20 24 44 46 46 30 43 |kEfx. .|z $DFF0C|
|00002b60| 30 2c 41 35 00 20 20 80 | 7a 20 6d 74 5f 63 68 61 |0,A5. .|z mt_cha|
|00002b70| 6e 33 74 65 6d 70 28 50 | 43 29 2c 41 36 00 20 20 |n3temp(P|C),A6. |
|00002b80| 80 59 20 6d 74 5f 43 68 | 65 63 6b 45 66 78 00 20 |.Y mt_Ch|eckEfx. |
|00002b90| 20 80 7a 20 24 44 46 46 | 30 44 30 2c 41 35 00 20 | .z $DFF|0D0,A5. |
|00002ba0| 20 80 7a 20 6d 74 5f 63 | 68 61 6e 34 74 65 6d 70 | .z mt_c|han4temp|
|00002bb0| 28 50 43 29 2c 41 36 00 | 20 20 80 58 20 6d 74 5f |(PC),A6.| .X mt_|
|00002bc0| 43 68 65 63 6b 45 66 78 | 00 00 6d 74 5f 47 65 74 |CheckEfx|..mt_Get|
|00002bd0| 4e 65 77 4e 6f 74 65 00 | 20 20 80 7e 2e 4c 20 20 |NewNote.| .~.L |
|00002be0| 6d 74 5f 53 6f 6e 67 44 | 61 74 61 50 74 72 28 50 |mt_SongD|ataPtr(P|
|00002bf0| 43 29 2c 41 30 00 20 20 | 80 7a 20 31 32 28 41 30 |C),A0. |.z 12(A0|
|00002c00| 29 2c 41 33 00 20 20 80 | 7a 20 39 35 32 28 41 30 |),A3. .|z 952(A0|
|00002c10| 29 2c 41 32 20 20 3b 70 | 61 74 74 70 6f 00 20 20 |),A2 ;p|attpo. |
|00002c20| 80 7a 20 31 30 38 34 28 | 41 30 29 2c 41 30 20 3b |.z 1084(|A0),A0 ;|
|00002c30| 70 61 74 74 65 72 6e 64 | 61 74 61 00 20 20 80 81 |patternd|ata. ..|
|00002c40| 20 23 30 2c 44 30 00 20 | 20 80 81 20 23 30 2c 44 | #0,D0. | .. #0,D|
|00002c50| 31 00 20 20 80 7e 2e 42 | 20 20 6d 74 5f 53 6f 6e |1. .~.B| mt_Son|
|00002c60| 67 50 6f 73 28 50 43 29 | 2c 44 30 00 20 20 80 7e |gPos(PC)|,D0. .~|
|00002c70| 2e 42 20 20 30 28 41 32 | 2c 44 30 2e 57 29 2c 44 |.B 0(A2|,D0.W),D|
|00002c80| 31 00 20 20 80 44 2e 4c | 20 23 38 2c 44 31 00 20 |1. .D.L| #8,D1. |
|00002c90| 20 80 44 2e 4c 20 23 32 | 2c 44 31 00 20 20 80 3d | .D.L #2|,D1. .=|
|00002ca0| 2e 57 20 6d 74 5f 50 61 | 74 74 65 72 6e 50 6f 73 |.W mt_Pa|tternPos|
|00002cb0| 28 50 43 29 2c 44 31 00 | 20 20 80 5b 2e 57 20 6d |(PC),D1.| .[.W m|
|00002cc0| 74 5f 44 4d 41 43 4f 4e | 74 65 6d 70 00 00 20 20 |t_DMACON|temp.. |
|00002cd0| 80 7a 20 24 44 46 46 30 | 41 30 2c 41 35 00 20 20 |.z $DFF0|A0,A5. |
|00002ce0| 80 7a 20 6d 74 5f 63 68 | 61 6e 31 74 65 6d 70 28 |.z mt_ch|an1temp(|
|00002cf0| 50 43 29 2c 41 36 00 20 | 20 80 59 20 6d 74 5f 50 |PC),A6. | .Y mt_P|
|00002d00| 6c 61 79 56 6f 69 63 65 | 00 20 20 80 7a 20 24 44 |layVoice|. .z $D|
|00002d10| 46 46 30 42 30 2c 41 35 | 00 20 20 80 7a 20 6d 74 |FF0B0,A5|. .z mt|
|00002d20| 5f 63 68 61 6e 32 74 65 | 6d 70 28 50 43 29 2c 41 |_chan2te|mp(PC),A|
|00002d30| 36 00 20 20 80 59 20 6d | 74 5f 50 6c 61 79 56 6f |6. .Y m|t_PlayVo|
|00002d40| 69 63 65 00 20 20 80 7a | 20 24 44 46 46 30 43 30 |ice. .z| $DFF0C0|
|00002d50| 2c 41 35 00 20 20 80 7a | 20 6d 74 5f 63 68 61 6e |,A5. .z| mt_chan|
|00002d60| 33 74 65 6d 70 28 50 43 | 29 2c 41 36 00 20 20 80 |3temp(PC|),A6. .|
|00002d70| 59 20 6d 74 5f 50 6c 61 | 79 56 6f 69 63 65 00 20 |Y mt_Pla|yVoice. |
|00002d80| 20 80 7a 20 24 44 46 46 | 30 44 30 2c 41 35 00 20 | .z $DFF|0D0,A5. |
|00002d90| 20 80 7a 20 6d 74 5f 63 | 68 61 6e 34 74 65 6d 70 | .z mt_c|han4temp|
|00002da0| 28 50 43 29 2c 41 36 00 | 20 20 80 59 20 6d 74 5f |(PC),A6.| .Y mt_|
|00002db0| 50 6c 61 79 56 6f 69 63 | 65 00 20 20 80 58 20 6d |PlayVoic|e. .X m|
|00002dc0| 74 5f 53 65 74 44 4d 41 | 00 00 6d 74 5f 50 6c 61 |t_SetDMA|..mt_Pla|
|00002dd0| 79 56 6f 69 63 65 00 20 | 20 80 b0 2e 4c 20 28 41 |yVoice. | ...L (A|
|00002de0| 36 29 00 20 20 80 50 20 | 6d 74 5f 70 6c 76 73 6b |6). .P |mt_plvsk|
|00002df0| 69 70 00 20 20 80 59 20 | 6d 74 5f 50 65 72 4e 6f |ip. .Y |mt_PerNo|
|00002e00| 70 00 6d 74 5f 70 6c 76 | 73 6b 69 70 00 20 20 80 |p.mt_plv|skip. .|
|00002e10| 7e 2e 4c 20 20 30 28 41 | 30 2c 44 31 2e 4c 29 2c |~.L 0(A|0,D1.L),|
|00002e20| 28 41 36 29 00 20 20 80 | 40 2e 4c 20 20 23 34 2c |(A6). .|@.L #4,|
|00002e30| 44 31 00 20 20 80 81 20 | 23 30 2c 44 32 00 20 20 |D1. .. |#0,D2. |
|00002e40| 80 7e 2e 42 20 20 6e 5f | 63 6d 64 28 41 36 29 2c |.~.B n_|cmd(A6),|
|00002e50| 44 32 00 20 20 80 42 2e | 42 20 23 24 46 30 2c 44 |D2. .B.|B #$F0,D|
|00002e60| 32 00 20 20 80 7d 2e 42 | 20 23 34 2c 44 32 00 20 |2. .}.B| #4,D2. |
|00002e70| 20 80 7e 2e 42 20 20 28 | 41 36 29 2c 44 30 00 20 | .~.B (|A6),D0. |
|00002e80| 20 80 42 2e 42 20 23 24 | 46 30 2c 44 30 00 20 20 | .B.B #$|F0,D0. |
|00002e90| 80 8a 2e 42 20 20 44 30 | 2c 44 32 00 20 20 80 b0 |...B D0|,D2. ..|
|00002ea0| 2e 42 20 44 32 00 20 20 | 80 48 20 6d 74 5f 53 65 |.B D2. |.H mt_Se|
|00002eb0| 74 52 65 67 73 00 20 20 | 80 81 20 23 30 2c 44 33 |tRegs. |.. #0,D3|
|00002ec0| 00 20 20 80 7a 20 6d 74 | 5f 53 61 6d 70 6c 65 53 |. .z mt|_SampleS|
|00002ed0| 74 61 72 74 73 28 50 43 | 29 2c 41 31 00 20 20 80 |tarts(PC|),A1. .|
|00002ee0| 7e 20 20 44 32 2c 44 34 | 00 20 20 80 aa 2e 4c 20 |~ D2,D4|. ...L |
|00002ef0| 20 23 31 2c 44 32 00 20 | 20 80 44 2e 4c 20 23 32 | #1,D2. | .D.L #2|
|00002f00| 2c 44 32 00 20 20 80 84 | 20 20 23 33 30 2c 44 34 |,D2. ..| #30,D4|
|00002f10| 00 20 20 80 7e 2e 4c 20 | 20 30 28 41 31 2c 44 32 |. .~.L | 0(A1,D2|
|00002f20| 2e 4c 29 2c 6e 5f 73 74 | 61 72 74 28 41 36 29 00 |.L),n_st|art(A6).|
|00002f30| 20 20 80 7e 2e 57 20 20 | 30 28 41 33 2c 44 34 2e | .~.W |0(A3,D4.|
|00002f40| 4c 29 2c 6e 5f 6c 65 6e | 67 74 68 28 41 36 29 00 |L),n_len|gth(A6).|
|00002f50| 20 20 80 7e 2e 57 20 20 | 30 28 41 33 2c 44 34 2e | .~.W |0(A3,D4.|
|00002f60| 4c 29 2c 6e 5f 72 65 61 | 6c 6c 65 6e 67 74 68 28 |L),n_rea|llength(|
|00002f70| 41 36 29 00 20 20 80 7e | 2e 42 20 20 32 28 41 33 |A6). .~|.B 2(A3|
|00002f80| 2c 44 34 2e 4c 29 2c 6e | 5f 66 69 6e 65 74 75 6e |,D4.L),n|_finetun|
|00002f90| 65 28 41 36 29 00 20 20 | 80 7e 2e 42 20 20 33 28 |e(A6). |.~.B 3(|
|00002fa0| 41 33 2c 44 34 2e 4c 29 | 2c 6e 5f 76 6f 6c 75 6d |A3,D4.L)|,n_volum|
|00002fb0| 65 28 41 36 29 00 20 20 | 80 7e 2e 57 20 20 34 28 |e(A6). |.~.W 4(|
|00002fc0| 41 33 2c 44 34 2e 4c 29 | 2c 44 33 20 3b 20 47 65 |A3,D4.L)|,D3 ; Ge|
|00002fd0| 74 20 72 65 70 65 61 74 | 00 20 20 80 b0 2e 57 20 |t repeat|. ...W |
|00002fe0| 44 33 00 20 20 80 48 20 | 6d 74 5f 4e 6f 4c 6f 6f |D3. .H |mt_NoLoo|
|00002ff0| 70 00 20 20 80 7e 2e 4c | 20 20 6e 5f 73 74 61 72 |p. .~.L| n_star|
|00003000| 74 28 41 36 29 2c 44 32 | 20 20 3b 20 47 65 74 20 |t(A6),D2| ; Get |
|00003010| 73 74 61 72 74 00 20 20 | 80 44 2e 57 20 23 31 2c |start. |.D.W #1,|
|00003020| 44 33 00 20 20 80 3d 2e | 4c 20 44 33 2c 44 32 20 |D3. .=.|L D3,D2 |
|00003030| 20 20 3b 20 41 64 64 20 | 72 65 70 65 61 74 00 20 | ; Add |repeat. |
|00003040| 20 80 7e 2e 4c 20 20 44 | 32 2c 6e 5f 6c 6f 6f 70 | .~.L D|2,n_loop|
|00003050| 73 74 61 72 74 28 41 36 | 29 00 20 20 80 7e 2e 4c |start(A6|). .~.L|
|00003060| 20 20 44 32 2c 6e 5f 77 | 61 76 65 73 74 61 72 74 | D2,n_w|avestart|
|00003070| 28 41 36 29 00 20 20 80 | 7e 2e 57 20 20 34 28 41 |(A6). .|~.W 4(A|
|00003080| 33 2c 44 34 2e 4c 29 2c | 44 30 20 3b 20 47 65 74 |3,D4.L),|D0 ; Get|
|00003090| 20 72 65 70 65 61 74 00 | 20 20 80 3d 2e 57 20 36 | repeat.| .=.W 6|
|000030a0| 28 41 33 2c 44 34 2e 4c | 29 2c 44 30 20 3b 20 41 |(A3,D4.L|),D0 ; A|
|000030b0| 64 64 20 72 65 70 6c 65 | 6e 00 20 20 80 7e 2e 57 |dd reple|n. .~.W|
|000030c0| 20 20 44 30 2c 6e 5f 6c | 65 6e 67 74 68 28 41 36 | D0,n_l|ength(A6|
|000030d0| 29 00 20 20 80 7e 2e 57 | 20 20 36 28 41 33 2c 44 |). .~.W| 6(A3,D|
|000030e0| 34 2e 4c 29 2c 6e 5f 72 | 65 70 6c 65 6e 28 41 36 |4.L),n_r|eplen(A6|
|000030f0| 29 20 3b 20 53 61 76 65 | 20 72 65 70 6c 65 6e 00 |) ; Save| replen.|
|00003100| 20 20 80 81 20 23 30 2c | 44 30 00 20 20 80 7e 2e | .. #0,|D0. .~.|
|00003110| 42 20 20 6e 5f 76 6f 6c | 75 6d 65 28 41 36 29 2c |B n_vol|ume(A6),|
|00003120| 44 30 00 20 20 80 7e 2e | 57 20 20 44 30 2c 38 28 |D0. .~.|W D0,8(|
|00003130| 41 35 29 20 20 3b 20 53 | 65 74 20 76 6f 6c 75 6d |A5) ; S|et volum|
|00003140| 65 00 20 20 80 58 20 6d | 74 5f 53 65 74 52 65 67 |e. .X m|t_SetReg|
|00003150| 73 00 00 6d 74 5f 4e 6f | 4c 6f 6f 70 00 20 20 80 |s..mt_No|Loop. .|
|00003160| 7e 2e 4c 20 20 6e 5f 73 | 74 61 72 74 28 41 36 29 |~.L n_s|tart(A6)|
|00003170| 2c 44 32 00 20 20 80 3d | 2e 4c 20 44 33 2c 44 32 |,D2. .=|.L D3,D2|
|00003180| 00 20 20 80 7e 2e 4c 20 | 20 44 32 2c 6e 5f 6c 6f |. .~.L | D2,n_lo|
|00003190| 6f 70 73 74 61 72 74 28 | 41 36 29 00 20 20 80 7e |opstart(|A6). .~|
|000031a0| 2e 4c 20 20 44 32 2c 6e | 5f 77 61 76 65 73 74 61 |.L D2,n|_wavesta|
|000031b0| 72 74 28 41 36 29 00 20 | 20 80 7e 2e 57 20 20 36 |rt(A6). | .~.W 6|
|000031c0| 28 41 33 2c 44 34 2e 4c | 29 2c 6e 5f 72 65 70 6c |(A3,D4.L|),n_repl|
|000031d0| 65 6e 28 41 36 29 20 3b | 20 53 61 76 65 20 72 65 |en(A6) ;| Save re|
|000031e0| 70 6c 65 6e 00 20 20 80 | 81 20 23 30 2c 44 30 00 |plen. .|. #0,D0.|
|000031f0| 20 20 80 7e 2e 42 20 20 | 6e 5f 76 6f 6c 75 6d 65 | .~.B |n_volume|
|00003200| 28 41 36 29 2c 44 30 00 | 20 20 80 7e 2e 57 20 20 |(A6),D0.| .~.W |
|00003210| 44 30 2c 38 28 41 35 29 | 20 20 3b 20 53 65 74 20 |D0,8(A5)| ; Set |
|00003220| 76 6f 6c 75 6d 65 00 6d | 74 5f 53 65 74 52 65 67 |volume.m|t_SetReg|
|00003230| 73 00 20 20 80 7e 2e 57 | 20 20 28 41 36 29 2c 44 |s. .~.W| (A6),D|
|00003240| 30 00 20 20 80 42 2e 57 | 20 23 24 30 46 46 46 2c |0. .B.W| #$0FFF,|
|00003250| 44 30 00 20 20 80 48 20 | 6d 74 5f 43 68 65 63 6b |D0. .H |mt_Check|
|00003260| 4d 6f 72 65 45 66 78 20 | 3b 20 49 66 20 6e 6f 20 |MoreEfx |; If no |
|00003270| 6e 6f 74 65 00 20 20 80 | 7e 2e 57 20 20 32 28 41 |note. .|~.W 2(A|
|00003280| 36 29 2c 44 30 00 20 20 | 80 42 2e 57 20 23 24 30 |6),D0. |.B.W #$0|
|00003290| 46 46 30 2c 44 30 00 20 | 20 80 5c 2e 57 20 23 24 |FF0,D0. | .\.W #$|
|000032a0| 30 45 35 30 2c 44 30 00 | 20 20 80 48 20 6d 74 5f |0E50,D0.| .H mt_|
|000032b0| 44 6f 53 65 74 46 69 6e | 65 54 75 6e 65 00 20 20 |DoSetFin|eTune. |
|000032c0| 80 7e 2e 42 20 20 32 28 | 41 36 29 2c 44 30 00 20 |.~.B 2(|A6),D0. |
|000032d0| 20 80 42 2e 42 20 23 24 | 30 46 2c 44 30 00 20 20 | .B.B #$|0F,D0. |
|000032e0| 80 5c 2e 42 20 23 33 2c | 44 30 20 3b 20 54 6f 6e |.\.B #3,|D0 ; Ton|
|000032f0| 65 50 6f 72 74 61 6d 65 | 6e 74 6f 00 20 20 80 48 |ePortame|nto. .H|
|00003300| 20 6d 74 5f 43 68 6b 54 | 6f 6e 65 50 6f 72 74 61 | mt_ChkT|onePorta|
|00003310| 00 20 20 80 5c 2e 42 20 | 23 35 2c 44 30 00 20 20 |. .\.B |#5,D0. |
|00003320| 80 48 20 6d 74 5f 43 68 | 6b 54 6f 6e 65 50 6f 72 |.H mt_Ch|kTonePor|
|00003330| 74 61 00 20 20 80 5c 2e | 42 20 23 39 2c 44 30 20 |ta. .\.|B #9,D0 |
|00003340| 3b 20 53 61 6d 70 6c 65 | 20 4f 66 66 73 65 74 00 |; Sample| Offset.|
|00003350| 20 20 80 50 20 6d 74 5f | 53 65 74 50 65 72 69 6f | .P mt_|SetPerio|
|00003360| 64 00 20 20 80 59 20 6d | 74 5f 43 68 65 63 6b 4d |d. .Y m|t_CheckM|
|00003370| 6f 72 65 45 66 78 00 20 | 20 80 58 20 6d 74 5f 53 |oreEfx. | .X mt_S|
|00003380| 65 74 50 65 72 69 6f 64 | 00 00 6d 74 5f 44 6f 53 |etPeriod|..mt_DoS|
|00003390| 65 74 46 69 6e 65 54 75 | 6e 65 00 20 20 80 59 20 |etFineTu|ne. .Y |
|000033a0| 6d 74 5f 53 65 74 46 69 | 6e 65 54 75 6e 65 00 20 |mt_SetFi|neTune. |
|000033b0| 20 80 58 20 6d 74 5f 53 | 65 74 50 65 72 69 6f 64 | .X mt_S|etPeriod|
|000033c0| 00 00 6d 74 5f 43 68 6b | 54 6f 6e 65 50 6f 72 74 |..mt_Chk|TonePort|
|000033d0| 61 00 20 20 80 59 20 6d | 74 5f 53 65 74 54 6f 6e |a. .Y m|t_SetTon|
|000033e0| 65 50 6f 72 74 61 00 20 | 20 80 58 20 6d 74 5f 43 |ePorta. | .X mt_C|
|000033f0| 68 65 63 6b 4d 6f 72 65 | 45 66 78 00 00 6d 74 5f |heckMore|Efx..mt_|
|00003400| 53 65 74 50 65 72 69 6f | 64 00 20 20 80 82 2e 4c |SetPerio|d. ...L|
|00003410| 20 44 30 2d 44 31 2f 41 | 30 2d 41 31 2c 2d 28 41 | D0-D1/A|0-A1,-(A|
|00003420| 37 29 00 20 20 80 7e 2e | 57 20 20 28 41 36 29 2c |7). .~.|W (A6),|
|00003430| 44 31 00 20 20 80 42 2e | 57 20 23 24 30 46 46 46 |D1. .B.|W #$0FFF|
|00003440| 2c 44 31 00 20 20 80 7a | 20 6d 74 5f 50 65 72 69 |,D1. .z| mt_Peri|
|00003450| 6f 64 54 61 62 6c 65 28 | 50 43 29 2c 41 31 00 20 |odTable(|PC),A1. |
|00003460| 20 80 81 20 23 30 2c 44 | 30 00 20 20 80 81 20 23 | .. #0,D|0. .. #|
|00003470| 33 36 2c 44 32 00 6d 74 | 5f 66 74 75 6c 6f 6f 70 |36,D2.mt|_ftuloop|
|00003480| 00 20 20 80 5c 2e 57 20 | 30 28 41 31 2c 44 30 2e |. .\.W |0(A1,D0.|
|00003490| 57 29 2c 44 31 00 20 20 | 80 46 20 6d 74 5f 66 74 |W),D1. |.F mt_ft|
|000034a0| 75 66 6f 75 6e 64 00 20 | 20 80 40 2e 4c 20 20 23 |ufound. | .@.L #|
|000034b0| 32 2c 44 30 00 20 20 80 | 6f 20 20 44 32 2c 6d 74 |2,D0. .|o D2,mt|
|000034c0| 5f 66 74 75 6c 6f 6f 70 | 00 6d 74 5f 66 74 75 66 |_ftuloop|.mt_ftuf|
|000034d0| 6f 75 6e 64 00 20 20 80 | 81 20 23 30 2c 44 31 00 |ound. .|. #0,D1.|
|000034e0| 20 20 80 7e 2e 42 20 20 | 6e 5f 66 69 6e 65 74 75 | .~.B |n_finetu|
|000034f0| 6e 65 28 41 36 29 2c 44 | 31 00 20 20 80 84 20 20 |ne(A6),D|1. .. |
|00003500| 23 33 36 2a 32 2c 44 31 | 00 20 20 80 3d 2e 4c 20 |#36*2,D1|. .=.L |
|00003510| 44 31 2c 41 31 00 20 20 | 80 7e 2e 57 20 20 30 28 |D1,A1. |.~.W 0(|
|00003520| 41 31 2c 44 30 2e 57 29 | 2c 6e 5f 70 65 72 69 6f |A1,D0.W)|,n_perio|
|00003530| 64 28 41 36 29 00 20 20 | 80 82 2e 4c 20 28 41 37 |d(A6). |...L (A7|
|00003540| 29 2b 2c 44 30 2d 44 31 | 2f 41 30 2d 41 31 00 00 |)+,D0-D1|/A0-A1..|
|00003550| 20 20 80 7e 2e 57 20 20 | 32 28 41 36 29 2c 44 30 | .~.W |2(A6),D0|
|00003560| 00 20 20 80 42 2e 57 20 | 23 24 30 46 46 30 2c 44 |. .B.W |#$0FF0,D|
|00003570| 30 00 20 20 80 5c 2e 57 | 20 23 24 30 45 44 30 2c |0. .\.W| #$0ED0,|
|00003580| 44 30 20 3b 20 4e 6f 74 | 65 64 65 6c 61 79 00 20 |D0 ; Not|edelay. |
|00003590| 20 80 48 20 6d 74 5f 43 | 68 65 63 6b 4d 6f 72 65 | .H mt_C|heckMore|
|000035a0| 45 66 78 00 00 20 20 80 | 7e 2e 57 20 20 6e 5f 64 |Efx.. .|~.W n_d|
|000035b0| 6d 61 62 69 74 28 41 36 | 29 2c 24 44 46 46 30 39 |mabit(A6|),$DFF09|
|000035c0| 36 00 20 20 80 57 20 20 | 23 32 2c 6e 5f 77 61 76 |6. .W |#2,n_wav|
|000035d0| 65 63 6f 6e 74 72 6f 6c | 28 41 36 29 00 20 20 80 |econtrol|(A6). .|
|000035e0| 50 20 6d 74 5f 76 69 62 | 6e 6f 63 00 20 20 80 5b |P mt_vib|noc. .[|
|000035f0| 2e 42 20 6e 5f 76 69 62 | 72 61 74 6f 70 6f 73 28 |.B n_vib|ratopos(|
|00003600| 41 36 29 00 6d 74 5f 76 | 69 62 6e 6f 63 00 20 20 |A6).mt_v|ibnoc. |
|00003610| 80 57 20 20 23 36 2c 6e | 5f 77 61 76 65 63 6f 6e |.W #6,n|_wavecon|
|00003620| 74 72 6f 6c 28 41 36 29 | 00 20 20 80 50 20 6d 74 |trol(A6)|. .P mt|
|00003630| 5f 74 72 65 6e 6f 63 00 | 20 20 80 5b 2e 42 20 6e |_trenoc.| .[.B n|
|00003640| 5f 74 72 65 6d 6f 6c 6f | 70 6f 73 28 41 36 29 00 |_tremolo|pos(A6).|
|00003650| 6d 74 5f 74 72 65 6e 6f | 63 00 20 20 80 7e 2e 4c |mt_treno|c. .~.L|
|00003660| 20 20 6e 5f 73 74 61 72 | 74 28 41 36 29 2c 28 41 | n_star|t(A6),(A|
|00003670| 35 29 20 20 3b 20 53 65 | 74 20 73 74 61 72 74 00 |5) ; Se|t start.|
|00003680| 20 20 80 7e 2e 57 20 20 | 6e 5f 6c 65 6e 67 74 68 | .~.W |n_length|
|00003690| 28 41 36 29 2c 34 28 41 | 35 29 20 20 3b 20 53 65 |(A6),4(A|5) ; Se|
|000036a0| 74 20 6c 65 6e 67 74 68 | 00 20 20 80 7e 2e 57 20 |t length|. .~.W |
|000036b0| 20 6e 5f 70 65 72 69 6f | 64 28 41 36 29 2c 44 30 | n_perio|d(A6),D0|
|000036c0| 00 20 20 80 7e 2e 57 20 | 20 44 30 2c 36 28 41 35 |. .~.W | D0,6(A5|
|000036d0| 29 20 20 20 20 3b 20 53 | 65 74 20 70 65 72 69 6f |) ; S|et perio|
|000036e0| 64 00 20 20 80 7e 2e 57 | 20 20 6e 5f 64 6d 61 62 |d. .~.W| n_dmab|
|000036f0| 69 74 28 41 36 29 2c 44 | 30 00 20 20 80 8a 2e 57 |it(A6),D|0. ...W|
|00003700| 20 20 44 30 2c 6d 74 5f | 44 4d 41 43 4f 4e 74 65 | D0,mt_|DMACONte|
|00003710| 6d 70 00 20 20 80 58 20 | 6d 74 5f 43 68 65 63 6b |mp. .X |mt_Check|
|00003720| 4d 6f 72 65 45 66 78 00 | 00 6d 74 5f 53 65 74 44 |MoreEfx.|.mt_SetD|
|00003730| 4d 41 00 20 20 80 7e 2e | 57 20 20 44 4d 41 5f 57 |MA. .~.|W DMA_W|
|00003740| 61 69 74 2c 44 30 00 6d | 74 5f 57 61 69 74 44 4d |ait,D0.m|t_WaitDM|
|00003750| 41 00 20 20 80 6f 20 20 | 44 30 2c 6d 74 5f 57 61 |A. .o |D0,mt_Wa|
|00003760| 69 74 44 4d 41 00 20 20 | 80 7e 2e 57 20 20 6d 74 |itDMA. |.~.W mt|
|00003770| 5f 44 4d 41 43 4f 4e 74 | 65 6d 70 28 50 43 29 2c |_DMACONt|emp(PC),|
|00003780| 44 30 00 20 20 80 8a 2e | 57 20 20 23 24 38 30 30 |D0. ...|W #$800|
|00003790| 30 2c 44 30 00 20 20 80 | 7e 2e 57 20 20 44 30 2c |0,D0. .|~.W D0,|
|000037a0| 24 44 46 46 30 39 36 00 | 20 20 80 7e 2e 57 20 20 |$DFF096.| .~.W |
|000037b0| 44 4d 41 5f 57 61 69 74 | 2c 44 30 00 6d 74 5f 57 |DMA_Wait|,D0.mt_W|
|000037c0| 61 69 74 44 4d 41 32 00 | 20 20 80 6f 20 20 44 30 |aitDMA2.| .o D0|
|000037d0| 2c 6d 74 5f 57 61 69 74 | 44 4d 41 32 00 00 20 20 |,mt_Wait|DMA2.. |
|000037e0| 80 7a 20 24 44 46 46 30 | 30 30 2c 41 35 00 20 20 |.z $DFF0|00,A5. |
|000037f0| 80 7a 20 6d 74 5f 63 68 | 61 6e 34 74 65 6d 70 28 |.z mt_ch|an4temp(|
|00003800| 50 43 29 2c 41 36 00 20 | 20 80 7e 2e 4c 20 20 6e |PC),A6. | .~.L n|
|00003810| 5f 6c 6f 6f 70 73 74 61 | 72 74 28 41 36 29 2c 24 |_loopsta|rt(A6),$|
|00003820| 44 30 28 41 35 29 00 20 | 20 80 7e 2e 57 20 20 6e |D0(A5). | .~.W n|
|00003830| 5f 72 65 70 6c 65 6e 28 | 41 36 29 2c 24 44 34 28 |_replen(|A6),$D4(|
|00003840| 41 35 29 00 20 20 80 7a | 20 6d 74 5f 63 68 61 6e |A5). .z| mt_chan|
|00003850| 33 74 65 6d 70 28 50 43 | 29 2c 41 36 00 20 20 80 |3temp(PC|),A6. .|
|00003860| 7e 2e 4c 20 20 6e 5f 6c | 6f 6f 70 73 74 61 72 74 |~.L n_l|oopstart|
|00003870| 28 41 36 29 2c 24 43 30 | 28 41 35 29 00 20 20 80 |(A6),$C0|(A5). .|
|00003880| 7e 2e 57 20 20 6e 5f 72 | 65 70 6c 65 6e 28 41 36 |~.W n_r|eplen(A6|
|00003890| 29 2c 24 43 34 28 41 35 | 29 00 20 20 80 7a 20 6d |),$C4(A5|). .z m|
|000038a0| 74 5f 63 68 61 6e 32 74 | 65 6d 70 28 50 43 29 2c |t_chan2t|emp(PC),|
|000038b0| 41 36 00 20 20 80 7e 2e | 4c 20 20 6e 5f 6c 6f 6f |A6. .~.|L n_loo|
|000038c0| 70 73 74 61 72 74 28 41 | 36 29 2c 24 42 30 28 41 |pstart(A|6),$B0(A|
|000038d0| 35 29 00 20 20 80 7e 2e | 57 20 20 6e 5f 72 65 70 |5). .~.|W n_rep|
|000038e0| 6c 65 6e 28 41 36 29 2c | 24 42 34 28 41 35 29 00 |len(A6),|$B4(A5).|
|000038f0| 20 20 80 7a 20 6d 74 5f | 63 68 61 6e 31 74 65 6d | .z mt_|chan1tem|
|00003900| 70 28 50 43 29 2c 41 36 | 00 20 20 80 7e 2e 4c 20 |p(PC),A6|. .~.L |
|00003910| 20 6e 5f 6c 6f 6f 70 73 | 74 61 72 74 28 41 36 29 | n_loops|tart(A6)|
|00003920| 2c 24 41 30 28 41 35 29 | 00 20 20 80 7e 2e 57 20 |,$A0(A5)|. .~.W |
|00003930| 20 6e 5f 72 65 70 6c 65 | 6e 28 41 36 29 2c 24 41 | n_reple|n(A6),$A|
|00003940| 34 28 41 35 29 00 00 6d | 74 5f 64 73 6b 69 70 00 |4(A5)..m|t_dskip.|
|00003950| 20 20 80 3d 2e 57 20 23 | 31 36 2c 6d 74 5f 50 61 | .=.W #|16,mt_Pa|
|00003960| 74 74 65 72 6e 50 6f 73 | 00 20 20 80 7e 2e 42 20 |tternPos|. .~.B |
|00003970| 20 6d 74 5f 50 61 74 74 | 44 65 6c 54 69 6d 65 2c | mt_Patt|DelTime,|
|00003980| 44 30 00 20 20 80 48 20 | 6d 74 5f 64 73 6b 63 00 |D0. .H |mt_dskc.|
|00003990| 20 20 80 7e 2e 42 20 20 | 44 30 2c 6d 74 5f 50 61 | .~.B |D0,mt_Pa|
|000039a0| 74 74 44 65 6c 54 69 6d | 65 32 00 20 20 80 5b 2e |ttDelTim|e2. .[.|
|000039b0| 42 20 6d 74 5f 50 61 74 | 74 44 65 6c 54 69 6d 65 |B mt_Pat|tDelTime|
|000039c0| 00 6d 74 5f 64 73 6b 63 | 3a 20 80 b0 2e 42 20 6d |.mt_dskc|: ...B m|
|000039d0| 74 5f 50 61 74 74 44 65 | 6c 54 69 6d 65 32 00 20 |t_PattDe|lTime2. |
|000039e0| 20 80 48 20 6d 74 5f 64 | 73 6b 61 00 20 20 80 aa | .H mt_d|ska. ..|
|000039f0| 2e 42 20 20 23 31 2c 6d | 74 5f 50 61 74 74 44 65 |.B #1,m|t_PattDe|
|00003a00| 6c 54 69 6d 65 32 00 20 | 20 80 48 20 6d 74 5f 64 |lTime2. | .H mt_d|
|00003a10| 73 6b 61 00 20 20 80 a7 | 2e 57 20 23 31 36 2c 6d |ska. ..|.W #16,m|
|00003a20| 74 5f 50 61 74 74 65 72 | 6e 50 6f 73 00 6d 74 5f |t_Patter|nPos.mt_|
|00003a30| 64 73 6b 61 3a 20 80 b0 | 2e 42 20 6d 74 5f 50 42 |dska: ..|.B mt_PB|
|00003a40| 72 65 61 6b 46 6c 61 67 | 00 20 20 80 48 20 6d 74 |reakFlag|. .H mt|
|00003a50| 5f 6e 6e 70 79 73 6b 00 | 20 20 80 a5 20 20 6d 74 |_nnpysk.| .. mt|
|00003a60| 5f 50 42 72 65 61 6b 46 | 6c 61 67 00 20 20 80 81 |_PBreakF|lag. ..|
|00003a70| 20 23 30 2c 44 30 00 20 | 20 80 7e 2e 42 20 20 6d | #0,D0. | .~.B m|
|00003a80| 74 5f 50 42 72 65 61 6b | 50 6f 73 28 50 43 29 2c |t_PBreak|Pos(PC),|
|00003a90| 44 30 00 20 20 80 5b 2e | 42 20 6d 74 5f 50 42 72 |D0. .[.|B mt_PBr|
|00003aa0| 65 61 6b 50 6f 73 00 20 | 20 80 7c 2e 57 20 23 34 |eakPos. | .|.W #4|
|00003ab0| 2c 44 30 00 20 20 80 7e | 2e 57 20 20 44 30 2c 6d |,D0. .~|.W D0,m|
|00003ac0| 74 5f 50 61 74 74 65 72 | 6e 50 6f 73 00 6d 74 5f |t_Patter|nPos.mt_|
|00003ad0| 6e 6e 70 79 73 6b 00 20 | 20 80 5c 2e 57 20 23 31 |nnpysk. | .\.W #1|
|00003ae0| 30 32 34 2c 6d 74 5f 50 | 61 74 74 65 72 6e 50 6f |024,mt_P|atternPo|
|00003af0| 73 00 20 20 80 47 20 6d | 74 5f 4e 6f 4e 65 77 50 |s. .G m|t_NoNewP|
|00003b00| 6f 73 59 65 74 00 6d 74 | 5f 4e 65 78 74 50 6f 73 |osYet.mt|_NextPos|
|00003b10| 69 74 69 6f 6e 00 20 20 | 80 81 20 23 30 2c 44 30 |ition. |.. #0,D0|
|00003b20| 00 20 20 80 7e 2e 42 20 | 20 6d 74 5f 50 42 72 65 |. .~.B | mt_PBre|
|00003b30| 61 6b 50 6f 73 28 50 43 | 29 2c 44 30 00 20 20 80 |akPos(PC|),D0. .|
|00003b40| 7c 2e 57 20 23 34 2c 44 | 30 00 20 20 80 7e 2e 57 ||.W #4,D|0. .~.W|
|00003b50| 20 20 44 30 2c 6d 74 5f | 50 61 74 74 65 72 6e 50 | D0,mt_|PatternP|
|00003b60| 6f 73 00 20 20 80 5b 2e | 42 20 6d 74 5f 50 42 72 |os. .[.|B mt_PBr|
|00003b70| 65 61 6b 50 6f 73 00 20 | 20 80 5b 2e 42 20 6d 74 |eakPos. | .[.B mt|
|00003b80| 5f 50 6f 73 4a 75 6d 70 | 46 6c 61 67 00 20 20 80 |_PosJump|Flag. .|
|00003b90| 40 2e 42 20 20 23 31 2c | 6d 74 5f 53 6f 6e 67 50 |@.B #1,|mt_SongP|
|00003ba0| 6f 73 00 20 20 80 43 2e | 42 20 23 24 37 46 2c 6d |os. .C.|B #$7F,m|
|00003bb0| 74 5f 53 6f 6e 67 50 6f | 73 00 20 20 80 7e 2e 42 |t_SongPo|s. .~.B|
|00003bc0| 20 20 6d 74 5f 53 6f 6e | 67 50 6f 73 28 50 43 29 | mt_Son|gPos(PC)|
|00003bd0| 2c 44 31 00 20 20 80 7e | 2e 4c 20 20 6d 74 5f 53 |,D1. .~|.L mt_S|
|00003be0| 6f 6e 67 44 61 74 61 50 | 74 72 28 50 43 29 2c 41 |ongDataP|tr(PC),A|
|00003bf0| 30 00 20 20 80 5c 2e 42 | 20 39 35 30 28 41 30 29 |0. .\.B| 950(A0)|
|00003c00| 2c 44 31 00 20 20 80 47 | 20 6d 74 5f 4e 6f 4e 65 |,D1. .G| mt_NoNe|
|00003c10| 77 50 6f 73 59 65 74 00 | 20 20 80 5b 2e 42 20 6d |wPosYet.| .[.B m|
|00003c20| 74 5f 53 6f 6e 67 50 6f | 73 00 6d 74 5f 4e 6f 4e |t_SongPo|s.mt_NoN|
|00003c30| 65 77 50 6f 73 59 65 74 | 00 20 20 80 b0 2e 42 20 |ewPosYet|. ...B |
|00003c40| 6d 74 5f 50 6f 73 4a 75 | 6d 70 46 6c 61 67 00 20 |mt_PosJu|mpFlag. |
|00003c50| 20 80 50 20 6d 74 5f 4e | 65 78 74 50 6f 73 69 74 | .P mt_N|extPosit|
|00003c60| 69 6f 6e 00 6d 74 5f 65 | 78 69 74 3a 00 20 20 80 |ion.mt_e|xit:. .|
|00003c70| 82 2e 4c 20 28 41 37 29 | 2b 2c 44 30 2d 44 34 2f |..L (A7)|+,D0-D4/|
|00003c80| 41 30 2d 41 36 00 20 20 | 80 94 00 00 6d 74 5f 43 |A0-A6. |....mt_C|
|00003c90| 68 65 63 6b 45 66 78 00 | 20 20 80 59 20 6d 74 5f |heckEfx.| .Y mt_|
|00003ca0| 55 70 64 61 74 65 46 75 | 6e 6b 00 20 20 80 7e 2e |UpdateFu|nk. .~.|
|00003cb0| 57 20 20 6e 5f 63 6d 64 | 28 41 36 29 2c 44 30 00 |W n_cmd|(A6),D0.|
|00003cc0| 20 20 80 42 2e 57 20 23 | 24 30 46 46 46 2c 44 30 | .B.W #|$0FFF,D0|
|00003cd0| 00 20 20 80 48 20 6d 74 | 5f 50 65 72 4e 6f 70 00 |. .H mt|_PerNop.|
|00003ce0| 20 20 80 7e 2e 42 20 20 | 6e 5f 63 6d 64 28 41 36 | .~.B |n_cmd(A6|
|00003cf0| 29 2c 44 30 00 20 20 80 | 42 2e 42 20 23 24 30 46 |),D0. .|B.B #$0F|
|00003d00| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 41 72 70 65 |,D0. .H| mt_Arpe|
|00003d10| 67 67 69 6f 00 20 20 80 | 5c 2e 42 20 23 31 2c 44 |ggio. .|\.B #1,D|
|00003d20| 30 00 20 20 80 48 20 6d | 74 5f 50 6f 72 74 61 55 |0. .H m|t_PortaU|
|00003d30| 70 00 20 20 80 5c 2e 42 | 20 23 32 2c 44 30 00 20 |p. .\.B| #2,D0. |
|00003d40| 20 80 48 20 6d 74 5f 50 | 6f 72 74 61 44 6f 77 6e | .H mt_P|ortaDown|
|00003d50| 00 20 20 80 5c 2e 42 20 | 23 33 2c 44 30 00 20 20 |. .\.B |#3,D0. |
|00003d60| 80 48 20 6d 74 5f 54 6f | 6e 65 50 6f 72 74 61 6d |.H mt_To|nePortam|
|00003d70| 65 6e 74 6f 00 20 20 80 | 5c 2e 42 20 23 34 2c 44 |ento. .|\.B #4,D|
|00003d80| 30 00 20 20 80 48 20 6d | 74 5f 56 69 62 72 61 74 |0. .H m|t_Vibrat|
|00003d90| 6f 00 20 20 80 5c 2e 42 | 20 23 35 2c 44 30 00 20 |o. .\.B| #5,D0. |
|00003da0| 20 80 48 20 6d 74 5f 54 | 6f 6e 65 50 6c 75 73 56 | .H mt_T|onePlusV|
|00003db0| 6f 6c 53 6c 69 64 65 00 | 20 20 80 5c 2e 42 20 23 |olSlide.| .\.B #|
|00003dc0| 36 2c 44 30 00 20 20 80 | 48 20 6d 74 5f 56 69 62 |6,D0. .|H mt_Vib|
|00003dd0| 72 61 74 6f 50 6c 75 73 | 56 6f 6c 53 6c 69 64 65 |ratoPlus|VolSlide|
|00003de0| 00 20 20 80 5c 2e 42 20 | 23 24 45 2c 44 30 00 20 |. .\.B |#$E,D0. |
|00003df0| 20 80 48 20 6d 74 5f 45 | 5f 43 6f 6d 6d 61 6e 64 | .H mt_E|_Command|
|00003e00| 73 00 53 65 74 42 61 63 | 6b 3a 20 80 7e 2e 57 20 |s.SetBac|k: .~.W |
|00003e10| 20 6e 5f 70 65 72 69 6f | 64 28 41 36 29 2c 36 28 | n_perio|d(A6),6(|
|00003e20| 41 35 29 00 20 20 80 5c | 2e 42 20 23 37 2c 44 30 |A5). .\|.B #7,D0|
|00003e30| 00 20 20 80 48 20 6d 74 | 5f 54 72 65 6d 6f 6c 6f |. .H mt|_Tremolo|
|00003e40| 00 20 20 80 5c 2e 42 20 | 23 24 41 2c 44 30 00 20 |. .\.B |#$A,D0. |
|00003e50| 20 80 48 20 6d 74 5f 56 | 6f 6c 75 6d 65 53 6c 69 | .H mt_V|olumeSli|
|00003e60| 64 65 00 6d 74 5f 52 65 | 74 75 72 6e 00 20 20 80 |de.mt_Re|turn. .|
|00003e70| 94 00 00 6d 74 5f 50 65 | 72 4e 6f 70 00 20 20 80 |...mt_Pe|rNop. .|
|00003e80| 7e 2e 57 20 20 6e 5f 70 | 65 72 69 6f 64 28 41 36 |~.W n_p|eriod(A6|
|00003e90| 29 2c 36 28 41 35 29 00 | 20 20 80 94 00 00 6d 74 |),6(A5).| ....mt|
|00003ea0| 5f 41 72 70 65 67 67 69 | 6f 00 20 20 80 81 20 23 |_Arpeggi|o. .. #|
|00003eb0| 30 2c 44 30 00 20 20 80 | 7e 2e 42 20 20 6d 74 5f |0,D0. .|~.B mt_|
|00003ec0| 63 6f 75 6e 74 65 72 28 | 50 43 29 2c 44 30 00 20 |counter(|PC),D0. |
|00003ed0| 20 80 71 20 20 23 33 2c | 44 30 00 20 20 80 ac 20 | .q #3,|D0. .. |
|00003ee0| 20 44 30 00 20 20 80 5c | 2e 57 20 23 30 2c 44 30 | D0. .\|.W #0,D0|
|00003ef0| 00 20 20 80 48 20 6d 74 | 5f 41 72 70 65 67 67 69 |. .H mt|_Arpeggi|
|00003f00| 6f 32 00 20 20 80 5c 2e | 57 20 23 32 2c 44 30 00 |o2. .\.|W #2,D0.|
|00003f10| 20 20 80 48 20 6d 74 5f | 41 72 70 65 67 67 69 6f | .H mt_|Arpeggio|
|00003f20| 31 00 20 20 80 81 20 23 | 30 2c 44 30 00 20 20 80 |1. .. #|0,D0. .|
|00003f30| 7e 2e 42 20 20 6e 5f 63 | 6d 64 6c 6f 28 41 36 29 |~.B n_c|mdlo(A6)|
|00003f40| 2c 44 30 00 20 20 80 7d | 2e 42 20 23 34 2c 44 30 |,D0. .}|.B #4,D0|
|00003f50| 00 20 20 80 58 20 6d 74 | 5f 41 72 70 65 67 67 69 |. .X mt|_Arpeggi|
|00003f60| 6f 33 00 00 6d 74 5f 41 | 72 70 65 67 67 69 6f 31 |o3..mt_A|rpeggio1|
|00003f70| 00 20 20 80 81 20 23 30 | 2c 44 30 00 20 20 80 7e |. .. #0|,D0. .~|
|00003f80| 2e 42 20 20 6e 5f 63 6d | 64 6c 6f 28 41 36 29 2c |.B n_cm|dlo(A6),|
|00003f90| 44 30 00 20 20 80 42 2e | 42 20 23 31 35 2c 44 30 |D0. .B.|B #15,D0|
|00003fa0| 00 20 20 80 58 20 6d 74 | 5f 41 72 70 65 67 67 69 |. .X mt|_Arpeggi|
|00003fb0| 6f 33 00 00 6d 74 5f 41 | 72 70 65 67 67 69 6f 32 |o3..mt_A|rpeggio2|
|00003fc0| 00 20 20 80 7e 2e 57 20 | 20 6e 5f 70 65 72 69 6f |. .~.W | n_perio|
|00003fd0| 64 28 41 36 29 2c 44 32 | 00 20 20 80 58 20 6d 74 |d(A6),D2|. .X mt|
|00003fe0| 5f 41 72 70 65 67 67 69 | 6f 34 00 00 6d 74 5f 41 |_Arpeggi|o4..mt_A|
|00003ff0| 72 70 65 67 67 69 6f 33 | 00 20 20 80 44 2e 57 20 |rpeggio3|. .D.W |
|00004000| 23 31 2c 44 30 00 20 20 | 80 81 20 23 30 2c 44 31 |#1,D0. |.. #0,D1|
|00004010| 00 20 20 80 7e 2e 42 20 | 20 6e 5f 66 69 6e 65 74 |. .~.B | n_finet|
|00004020| 75 6e 65 28 41 36 29 2c | 44 31 00 20 20 80 84 20 |une(A6),|D1. .. |
|00004030| 20 23 33 36 2a 32 2c 44 | 31 00 20 20 80 7a 20 6d | #36*2,D|1. .z m|
|00004040| 74 5f 50 65 72 69 6f 64 | 54 61 62 6c 65 28 50 43 |t_Period|Table(PC|
|00004050| 29 2c 41 30 00 20 20 80 | 3d 2e 4c 20 44 31 2c 41 |),A0. .|=.L D1,A|
|00004060| 30 00 20 20 80 81 20 23 | 30 2c 44 31 00 20 20 80 |0. .. #|0,D1. .|
|00004070| 7e 2e 57 20 20 6e 5f 70 | 65 72 69 6f 64 28 41 36 |~.W n_p|eriod(A6|
|00004080| 29 2c 44 31 00 20 20 80 | 81 20 23 33 36 2c 44 33 |),D1. .|. #36,D3|
|00004090| 00 6d 74 5f 61 72 70 6c | 6f 6f 70 00 20 20 80 7e |.mt_arpl|oop. .~|
|000040a0| 2e 57 20 20 30 28 41 30 | 2c 44 30 2e 57 29 2c 44 |.W 0(A0|,D0.W),D|
|000040b0| 32 00 20 20 80 5c 2e 57 | 20 28 41 30 29 2c 44 31 |2. .\.W| (A0),D1|
|000040c0| 00 20 20 80 46 20 6d 74 | 5f 41 72 70 65 67 67 69 |. .F mt|_Arpeggi|
|000040d0| 6f 34 00 20 20 80 40 2e | 4c 20 20 23 32 2c 41 30 |o4. .@.|L #2,A0|
|000040e0| 00 20 20 80 6f 20 20 44 | 33 2c 6d 74 5f 61 72 70 |. .o D|3,mt_arp|
|000040f0| 6c 6f 6f 70 00 20 20 80 | 94 00 00 6d 74 5f 41 72 |loop. .|...mt_Ar|
|00004100| 70 65 67 67 69 6f 34 00 | 20 20 80 7e 2e 57 20 20 |peggio4.| .~.W |
|00004110| 44 32 2c 36 28 41 35 29 | 00 20 20 80 94 00 00 6d |D2,6(A5)|. ....m|
|00004120| 74 5f 46 69 6e 65 50 6f | 72 74 61 55 70 00 20 20 |t_FinePo|rtaUp. |
|00004130| 80 b0 2e 42 20 6d 74 5f | 63 6f 75 6e 74 65 72 00 |...B mt_|counter.|
|00004140| 20 20 80 50 20 6d 74 5f | 52 65 74 75 72 6e 00 20 | .P mt_|Return. |
|00004150| 20 80 7e 2e 42 20 20 23 | 24 30 46 2c 6d 74 5f 4c | .~.B #|$0F,mt_L|
|00004160| 6f 77 4d 61 73 6b 00 6d | 74 5f 50 6f 72 74 61 55 |owMask.m|t_PortaU|
|00004170| 70 00 20 20 80 81 20 23 | 30 2c 44 30 00 20 20 80 |p. .. #|0,D0. .|
|00004180| 7e 2e 42 20 20 6e 5f 63 | 6d 64 6c 6f 28 41 36 29 |~.B n_c|mdlo(A6)|
|00004190| 2c 44 30 00 20 20 80 42 | 2e 42 20 6d 74 5f 4c 6f |,D0. .B|.B mt_Lo|
|000041a0| 77 4d 61 73 6b 28 50 43 | 29 2c 44 30 00 20 20 80 |wMask(PC|),D0. .|
|000041b0| 7e 2e 42 20 20 23 24 46 | 46 2c 6d 74 5f 4c 6f 77 |~.B #$F|F,mt_Low|
|000041c0| 4d 61 73 6b 00 20 20 80 | a7 2e 57 20 44 30 2c 6e |Mask. .|..W D0,n|
|000041d0| 5f 70 65 72 69 6f 64 28 | 41 36 29 00 20 20 80 7e |_period(|A6). .~|
|000041e0| 2e 57 20 20 6e 5f 70 65 | 72 69 6f 64 28 41 36 29 |.W n_pe|riod(A6)|
|000041f0| 2c 44 30 00 20 20 80 42 | 2e 57 20 23 24 30 46 46 |,D0. .B|.W #$0FF|
|00004200| 46 2c 44 30 00 20 20 80 | 5c 2e 57 20 23 31 31 33 |F,D0. .|\.W #113|
|00004210| 2c 44 30 00 20 20 80 51 | 20 6d 74 5f 50 6f 72 74 |,D0. .Q| mt_Port|
|00004220| 61 55 73 6b 69 70 00 20 | 20 80 43 2e 57 20 23 24 |aUskip. | .C.W #$|
|00004230| 46 30 30 30 2c 6e 5f 70 | 65 72 69 6f 64 28 41 36 |F000,n_p|eriod(A6|
|00004240| 29 00 20 20 80 8a 2e 57 | 20 20 23 31 31 33 2c 6e |). ...W| #113,n|
|00004250| 5f 70 65 72 69 6f 64 28 | 41 36 29 00 6d 74 5f 50 |_period(|A6).mt_P|
|00004260| 6f 72 74 61 55 73 6b 69 | 70 00 20 20 80 7e 2e 57 |ortaUski|p. .~.W|
|00004270| 20 20 6e 5f 70 65 72 69 | 6f 64 28 41 36 29 2c 44 | n_peri|od(A6),D|
|00004280| 30 00 20 20 80 42 2e 57 | 20 23 24 30 46 46 46 2c |0. .B.W| #$0FFF,|
|00004290| 44 30 00 20 20 80 7e 2e | 57 20 20 44 30 2c 36 28 |D0. .~.|W D0,6(|
|000042a0| 41 35 29 00 20 20 80 94 | 00 00 6d 74 5f 46 69 6e |A5). ..|..mt_Fin|
|000042b0| 65 50 6f 72 74 61 44 6f | 77 6e 00 20 20 80 b0 2e |ePortaDo|wn. ...|
|000042c0| 42 20 6d 74 5f 63 6f 75 | 6e 74 65 72 00 20 20 80 |B mt_cou|nter. .|
|000042d0| 50 20 6d 74 5f 52 65 74 | 75 72 6e 00 20 20 80 7e |P mt_Ret|urn. .~|
|000042e0| 2e 42 20 20 23 24 30 46 | 2c 6d 74 5f 4c 6f 77 4d |.B #$0F|,mt_LowM|
|000042f0| 61 73 6b 00 6d 74 5f 50 | 6f 72 74 61 44 6f 77 6e |ask.mt_P|ortaDown|
|00004300| 00 20 20 80 5b 2e 57 20 | 44 30 00 20 20 80 7e 2e |. .[.W |D0. .~.|
|00004310| 42 20 20 6e 5f 63 6d 64 | 6c 6f 28 41 36 29 2c 44 |B n_cmd|lo(A6),D|
|00004320| 30 00 20 20 80 42 2e 42 | 20 6d 74 5f 4c 6f 77 4d |0. .B.B| mt_LowM|
|00004330| 61 73 6b 28 50 43 29 2c | 44 30 00 20 20 80 7e 2e |ask(PC),|D0. .~.|
|00004340| 42 20 20 23 24 46 46 2c | 6d 74 5f 4c 6f 77 4d 61 |B #$FF,|mt_LowMa|
|00004350| 73 6b 00 20 20 80 3d 2e | 57 20 44 30 2c 6e 5f 70 |sk. .=.|W D0,n_p|
|00004360| 65 72 69 6f 64 28 41 36 | 29 00 20 20 80 7e 2e 57 |eriod(A6|). .~.W|
|00004370| 20 20 6e 5f 70 65 72 69 | 6f 64 28 41 36 29 2c 44 | n_peri|od(A6),D|
|00004380| 30 00 20 20 80 42 2e 57 | 20 23 24 30 46 46 46 2c |0. .B.W| #$0FFF,|
|00004390| 44 30 00 20 20 80 5c 2e | 57 20 23 38 35 36 2c 44 |D0. .\.|W #856,D|
|000043a0| 30 00 20 20 80 4f 20 6d | 74 5f 50 6f 72 74 61 44 |0. .O m|t_PortaD|
|000043b0| 73 6b 69 70 00 20 20 80 | 43 2e 57 20 23 24 46 30 |skip. .|C.W #$F0|
|000043c0| 30 30 2c 6e 5f 70 65 72 | 69 6f 64 28 41 36 29 00 |00,n_per|iod(A6).|
|000043d0| 20 20 80 8a 2e 57 20 20 | 23 38 35 36 2c 6e 5f 70 | ...W |#856,n_p|
|000043e0| 65 72 69 6f 64 28 41 36 | 29 00 6d 74 5f 50 6f 72 |eriod(A6|).mt_Por|
|000043f0| 74 61 44 73 6b 69 70 00 | 20 20 80 7e 2e 57 20 20 |taDskip.| .~.W |
|00004400| 6e 5f 70 65 72 69 6f 64 | 28 41 36 29 2c 44 30 00 |n_period|(A6),D0.|
|00004410| 20 20 80 42 2e 57 20 23 | 24 30 46 46 46 2c 44 30 | .B.W #|$0FFF,D0|
|00004420| 00 20 20 80 7e 2e 57 20 | 20 44 30 2c 36 28 41 35 |. .~.W | D0,6(A5|
|00004430| 29 00 20 20 80 94 00 00 | 6d 74 5f 53 65 74 54 6f |). ....|mt_SetTo|
|00004440| 6e 65 50 6f 72 74 61 00 | 20 20 80 7e 2e 4c 20 20 |nePorta.| .~.L |
|00004450| 41 30 2c 2d 28 41 37 29 | 00 20 20 80 7e 2e 57 20 |A0,-(A7)|. .~.W |
|00004460| 20 28 41 36 29 2c 44 32 | 00 20 20 80 42 2e 57 20 | (A6),D2|. .B.W |
|00004470| 23 24 30 46 46 46 2c 44 | 32 00 20 20 80 81 20 23 |#$0FFF,D|2. .. #|
|00004480| 30 2c 44 30 00 20 20 80 | 7e 2e 42 20 20 6e 5f 66 |0,D0. .|~.B n_f|
|00004490| 69 6e 65 74 75 6e 65 28 | 41 36 29 2c 44 30 00 20 |inetune(|A6),D0. |
|000044a0| 20 80 84 20 20 23 33 36 | 2a 32 2c 44 30 20 3b 33 | .. #36|*2,D0 ;3|
|000044b0| 37 3f 00 20 20 80 7a 20 | 6d 74 5f 50 65 72 69 6f |7?. .z |mt_Perio|
|000044c0| 64 54 61 62 6c 65 28 50 | 43 29 2c 41 30 00 20 20 |dTable(P|C),A0. |
|000044d0| 80 3d 2e 4c 20 44 30 2c | 41 30 00 20 20 80 81 20 |.=.L D0,|A0. .. |
|000044e0| 23 30 2c 44 30 00 6d 74 | 5f 53 74 70 4c 6f 6f 70 |#0,D0.mt|_StpLoop|
|000044f0| 00 20 20 80 5c 2e 57 20 | 30 28 41 30 2c 44 30 2e |. .\.W |0(A0,D0.|
|00004500| 57 29 2c 44 32 00 20 20 | 80 46 20 6d 74 5f 53 74 |W),D2. |.F mt_St|
|00004510| 70 46 6f 75 6e 64 00 20 | 20 80 40 2e 57 20 20 23 |pFound. | .@.W #|
|00004520| 32 2c 44 30 00 20 20 80 | 5c 2e 57 20 23 33 36 2a |2,D0. .|\.W #36*|
|00004530| 32 2c 44 30 20 3b 33 37 | 3f 00 20 20 80 47 20 6d |2,D0 ;37|?. .G m|
|00004540| 74 5f 53 74 70 4c 6f 6f | 70 00 20 20 80 81 20 23 |t_StpLoo|p. .. #|
|00004550| 33 35 2a 32 2c 44 30 00 | 6d 74 5f 53 74 70 46 6f |35*2,D0.|mt_StpFo|
|00004560| 75 6e 64 00 20 20 80 7e | 2e 42 20 20 6e 5f 66 69 |und. .~|.B n_fi|
|00004570| 6e 65 74 75 6e 65 28 41 | 36 29 2c 44 32 00 20 20 |netune(A|6),D2. |
|00004580| 80 42 2e 42 20 23 38 2c | 44 32 00 20 20 80 48 20 |.B.B #8,|D2. .H |
|00004590| 6d 74 5f 53 74 70 47 6f | 73 73 00 20 20 80 b0 2e |mt_StpGo|ss. ...|
|000045a0| 57 20 44 30 00 20 20 80 | 48 20 6d 74 5f 53 74 70 |W D0. .|H mt_Stp|
|000045b0| 47 6f 73 73 00 20 20 80 | aa 2e 57 20 20 23 32 2c |Goss. .|..W #2,|
|000045c0| 44 30 00 6d 74 5f 53 74 | 70 47 6f 73 73 00 20 20 |D0.mt_St|pGoss. |
|000045d0| 80 7e 2e 57 20 20 30 28 | 41 30 2c 44 30 2e 57 29 |.~.W 0(|A0,D0.W)|
|000045e0| 2c 44 32 00 20 20 80 7e | 2e 4c 20 20 28 41 37 29 |,D2. .~|.L (A7)|
|000045f0| 2b 2c 41 30 00 20 20 80 | 7e 2e 57 20 20 44 32 2c |+,A0. .|~.W D2,|
|00004600| 6e 5f 77 61 6e 74 65 64 | 70 65 72 69 6f 64 28 41 |n_wanted|period(A|
|00004610| 36 29 00 20 20 80 7e 2e | 57 20 20 6e 5f 70 65 72 |6). .~.|W n_per|
|00004620| 69 6f 64 28 41 36 29 2c | 44 30 00 20 20 80 5b 2e |iod(A6),|D0. .[.|
|00004630| 42 20 6e 5f 74 6f 6e 65 | 70 6f 72 74 64 69 72 65 |B n_tone|portdire|
|00004640| 63 28 41 36 29 00 20 20 | 80 5c 2e 57 20 44 30 2c |c(A6). |.\.W D0,|
|00004650| 44 32 00 20 20 80 48 20 | 6d 74 5f 43 6c 65 61 72 |D2. .H |mt_Clear|
|00004660| 54 6f 6e 65 50 6f 72 74 | 61 00 20 20 80 49 20 6d |TonePort|a. .I m|
|00004670| 74 5f 52 65 74 75 72 6e | 00 20 20 80 7e 2e 42 20 |t_Return|. .~.B |
|00004680| 20 23 31 2c 6e 5f 74 6f | 6e 65 70 6f 72 74 64 69 | #1,n_to|neportdi|
|00004690| 72 65 63 28 41 36 29 00 | 20 20 80 94 00 00 6d 74 |rec(A6).| ....mt|
|000046a0| 5f 43 6c 65 61 72 54 6f | 6e 65 50 6f 72 74 61 00 |_ClearTo|nePorta.|
|000046b0| 20 20 80 5b 2e 57 20 6e | 5f 77 61 6e 74 65 64 70 | .[.W n|_wantedp|
|000046c0| 65 72 69 6f 64 28 41 36 | 29 00 20 20 80 94 00 00 |eriod(A6|). ....|
|000046d0| 6d 74 5f 54 6f 6e 65 50 | 6f 72 74 61 6d 65 6e 74 |mt_ToneP|ortament|
|000046e0| 6f 00 20 20 80 7e 2e 42 | 20 20 6e 5f 63 6d 64 6c |o. .~.B| n_cmdl|
|000046f0| 6f 28 41 36 29 2c 44 30 | 00 20 20 80 48 20 6d 74 |o(A6),D0|. .H mt|
|00004700| 5f 54 6f 6e 65 50 6f 72 | 74 4e 6f 43 68 61 6e 67 |_TonePor|tNoChang|
|00004710| 65 00 20 20 80 7e 2e 42 | 20 20 44 30 2c 6e 5f 74 |e. .~.B| D0,n_t|
|00004720| 6f 6e 65 70 6f 72 74 73 | 70 65 65 64 28 41 36 29 |oneports|peed(A6)|
|00004730| 00 20 20 80 5b 2e 42 20 | 6e 5f 63 6d 64 6c 6f 28 |. .[.B |n_cmdlo(|
|00004740| 41 36 29 00 6d 74 5f 54 | 6f 6e 65 50 6f 72 74 4e |A6).mt_T|onePortN|
|00004750| 6f 43 68 61 6e 67 65 00 | 20 20 80 b0 2e 57 20 6e |oChange.| ...W n|
|00004760| 5f 77 61 6e 74 65 64 70 | 65 72 69 6f 64 28 41 36 |_wantedp|eriod(A6|
|00004770| 29 00 20 20 80 48 20 6d | 74 5f 52 65 74 75 72 6e |). .H m|t_Return|
|00004780| 00 20 20 80 81 20 23 30 | 2c 44 30 00 20 20 80 7e |. .. #0|,D0. .~|
|00004790| 2e 42 20 20 6e 5f 74 6f | 6e 65 70 6f 72 74 73 70 |.B n_to|neportsp|
|000047a0| 65 65 64 28 41 36 29 2c | 44 30 00 20 20 80 b0 2e |eed(A6),|D0. ...|
|000047b0| 42 20 6e 5f 74 6f 6e 65 | 70 6f 72 74 64 69 72 65 |B n_tone|portdire|
|000047c0| 63 28 41 36 29 00 20 20 | 80 50 20 6d 74 5f 54 6f |c(A6). |.P mt_To|
|000047d0| 6e 65 50 6f 72 74 61 55 | 70 00 6d 74 5f 54 6f 6e |nePortaU|p.mt_Ton|
|000047e0| 65 50 6f 72 74 61 44 6f | 77 6e 00 20 20 80 3d 2e |ePortaDo|wn. .=.|
|000047f0| 57 20 44 30 2c 6e 5f 70 | 65 72 69 6f 64 28 41 36 |W D0,n_p|eriod(A6|
|00004800| 29 00 20 20 80 7e 2e 57 | 20 20 6e 5f 77 61 6e 74 |). .~.W| n_want|
|00004810| 65 64 70 65 72 69 6f 64 | 28 41 36 29 2c 44 30 00 |edperiod|(A6),D0.|
|00004820| 20 20 80 5c 2e 57 20 6e | 5f 70 65 72 69 6f 64 28 | .\.W n|_period(|
|00004830| 41 36 29 2c 44 30 00 20 | 20 80 4a 20 6d 74 5f 54 |A6),D0. | .J mt_T|
|00004840| 6f 6e 65 50 6f 72 74 61 | 53 65 74 50 65 72 00 20 |onePorta|SetPer. |
|00004850| 20 80 7e 2e 57 20 20 6e | 5f 77 61 6e 74 65 64 70 | .~.W n|_wantedp|
|00004860| 65 72 69 6f 64 28 41 36 | 29 2c 6e 5f 70 65 72 69 |eriod(A6|),n_peri|
|00004870| 6f 64 28 41 36 29 00 20 | 20 80 5b 2e 57 20 6e 5f |od(A6). | .[.W n_|
|00004880| 77 61 6e 74 65 64 70 65 | 72 69 6f 64 28 41 36 29 |wantedpe|riod(A6)|
|00004890| 00 20 20 80 58 20 6d 74 | 5f 54 6f 6e 65 50 6f 72 |. .X mt|_TonePor|
|000048a0| 74 61 53 65 74 50 65 72 | 00 00 6d 74 5f 54 6f 6e |taSetPer|..mt_Ton|
|000048b0| 65 50 6f 72 74 61 55 70 | 00 20 20 80 a7 2e 57 20 |ePortaUp|. ...W |
|000048c0| 44 30 2c 6e 5f 70 65 72 | 69 6f 64 28 41 36 29 00 |D0,n_per|iod(A6).|
|000048d0| 20 20 80 7e 2e 57 20 20 | 6e 5f 77 61 6e 74 65 64 | .~.W |n_wanted|
|000048e0| 70 65 72 69 6f 64 28 41 | 36 29 2c 44 30 00 20 20 |period(A|6),D0. |
|000048f0| 80 5c 2e 57 20 6e 5f 70 | 65 72 69 6f 64 28 41 36 |.\.W n_p|eriod(A6|
|00004900| 29 2c 44 30 00 20 20 80 | 4e 20 6d 74 5f 54 6f 6e |),D0. .|N mt_Ton|
|00004910| 65 50 6f 72 74 61 53 65 | 74 50 65 72 00 20 20 80 |ePortaSe|tPer. .|
|00004920| 7e 2e 57 20 20 6e 5f 77 | 61 6e 74 65 64 70 65 72 |~.W n_w|antedper|
|00004930| 69 6f 64 28 41 36 29 2c | 6e 5f 70 65 72 69 6f 64 |iod(A6),|n_period|
|00004940| 28 41 36 29 00 20 20 80 | 5b 2e 57 20 6e 5f 77 61 |(A6). .|[.W n_wa|
|00004950| 6e 74 65 64 70 65 72 69 | 6f 64 28 41 36 29 00 00 |ntedperi|od(A6)..|
|00004960| 6d 74 5f 54 6f 6e 65 50 | 6f 72 74 61 53 65 74 50 |mt_ToneP|ortaSetP|
|00004970| 65 72 00 20 20 80 7e 2e | 57 20 20 6e 5f 70 65 72 |er. .~.|W n_per|
|00004980| 69 6f 64 28 41 36 29 2c | 44 32 00 20 20 80 7e 2e |iod(A6),|D2. .~.|
|00004990| 42 20 20 6e 5f 67 6c 69 | 73 73 66 75 6e 6b 28 41 |B n_gli|ssfunk(A|
|000049a0| 36 29 2c 44 30 00 20 20 | 80 42 2e 42 20 23 24 30 |6),D0. |.B.B #$0|
|000049b0| 46 2c 44 30 00 20 20 80 | 48 20 6d 74 5f 47 6c 69 |F,D0. .|H mt_Gli|
|000049c0| 73 73 53 6b 69 70 00 20 | 20 80 81 20 23 30 2c 44 |ssSkip. | .. #0,D|
|000049d0| 30 00 20 20 80 7e 2e 42 | 20 20 6e 5f 66 69 6e 65 |0. .~.B| n_fine|
|000049e0| 74 75 6e 65 28 41 36 29 | 2c 44 30 00 20 20 80 84 |tune(A6)|,D0. ..|
|000049f0| 20 20 23 33 36 2a 32 2c | 44 30 00 20 20 80 7a 20 | #36*2,|D0. .z |
|00004a00| 6d 74 5f 50 65 72 69 6f | 64 54 61 62 6c 65 28 50 |mt_Perio|dTable(P|
|00004a10| 43 29 2c 41 30 00 20 20 | 80 3d 2e 4c 20 44 30 2c |C),A0. |.=.L D0,|
|00004a20| 41 30 00 20 20 80 81 20 | 23 30 2c 44 30 00 6d 74 |A0. .. |#0,D0.mt|
|00004a30| 5f 47 6c 69 73 73 4c 6f | 6f 70 00 20 20 80 5c 2e |_GlissLo|op. .\.|
|00004a40| 57 20 30 28 41 30 2c 44 | 30 2e 57 29 2c 44 32 00 |W 0(A0,D|0.W),D2.|
|00004a50| 20 20 80 46 20 6d 74 5f | 47 6c 69 73 73 46 6f 75 | .F mt_|GlissFou|
|00004a60| 6e 64 00 20 20 80 40 2e | 57 20 20 23 32 2c 44 30 |nd. .@.|W #2,D0|
|00004a70| 00 20 20 80 5c 2e 57 20 | 23 33 36 2a 32 2c 44 30 |. .\.W |#36*2,D0|
|00004a80| 00 20 20 80 47 20 6d 74 | 5f 47 6c 69 73 73 4c 6f |. .G mt|_GlissLo|
|00004a90| 6f 70 00 20 20 80 81 20 | 23 33 35 2a 32 2c 44 30 |op. .. |#35*2,D0|
|00004aa0| 00 6d 74 5f 47 6c 69 73 | 73 46 6f 75 6e 64 00 20 |.mt_Glis|sFound. |
|00004ab0| 20 80 7e 2e 57 20 20 30 | 28 41 30 2c 44 30 2e 57 | .~.W 0|(A0,D0.W|
|00004ac0| 29 2c 44 32 00 6d 74 5f | 47 6c 69 73 73 53 6b 69 |),D2.mt_|GlissSki|
|00004ad0| 70 00 20 20 80 7e 2e 57 | 20 20 44 32 2c 36 28 41 |p. .~.W| D2,6(A|
|00004ae0| 35 29 20 3b 20 53 65 74 | 20 70 65 72 69 6f 64 00 |5) ; Set| period.|
|00004af0| 20 20 80 94 00 00 6d 74 | 5f 56 69 62 72 61 74 6f | ....mt|_Vibrato|
|00004b00| 00 20 20 80 7e 2e 42 20 | 20 6e 5f 63 6d 64 6c 6f |. .~.B | n_cmdlo|
|00004b10| 28 41 36 29 2c 44 30 00 | 20 20 80 48 20 6d 74 5f |(A6),D0.| .H mt_|
|00004b20| 56 69 62 72 61 74 6f 32 | 00 20 20 80 7e 2e 42 20 |Vibrato2|. .~.B |
|00004b30| 20 6e 5f 76 69 62 72 61 | 74 6f 63 6d 64 28 41 36 | n_vibra|tocmd(A6|
|00004b40| 29 2c 44 32 00 20 20 80 | 42 2e 42 20 23 24 30 46 |),D2. .|B.B #$0F|
|00004b50| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 76 69 62 73 |,D0. .H| mt_vibs|
|00004b60| 6b 69 70 00 20 20 80 42 | 2e 42 20 23 24 46 30 2c |kip. .B|.B #$F0,|
|00004b70| 44 32 00 20 20 80 8a 2e | 42 20 20 44 30 2c 44 32 |D2. ...|B D0,D2|
|00004b80| 00 6d 74 5f 76 69 62 73 | 6b 69 70 00 20 20 80 7e |.mt_vibs|kip. .~|
|00004b90| 2e 42 20 20 6e 5f 63 6d | 64 6c 6f 28 41 36 29 2c |.B n_cm|dlo(A6),|
|00004ba0| 44 30 00 20 20 80 42 2e | 42 20 23 24 46 30 2c 44 |D0. .B.|B #$F0,D|
|00004bb0| 30 00 20 20 80 48 20 6d | 74 5f 76 69 62 73 6b 69 |0. .H m|t_vibski|
|00004bc0| 70 32 00 20 20 80 42 2e | 42 20 23 24 30 46 2c 44 |p2. .B.|B #$0F,D|
|00004bd0| 32 00 20 20 80 8a 2e 42 | 20 20 44 30 2c 44 32 00 |2. ...B| D0,D2.|
|00004be0| 6d 74 5f 76 69 62 73 6b | 69 70 32 00 20 20 80 7e |mt_vibsk|ip2. .~|
|00004bf0| 2e 42 20 20 44 32 2c 6e | 5f 76 69 62 72 61 74 6f |.B D2,n|_vibrato|
|00004c00| 63 6d 64 28 41 36 29 00 | 6d 74 5f 56 69 62 72 61 |cmd(A6).|mt_Vibra|
|00004c10| 74 6f 32 00 20 20 80 7e | 2e 42 20 20 6e 5f 76 69 |to2. .~|.B n_vi|
|00004c20| 62 72 61 74 6f 70 6f 73 | 28 41 36 29 2c 44 30 00 |bratopos|(A6),D0.|
|00004c30| 20 20 80 7a 20 6d 74 5f | 56 69 62 72 61 74 6f 54 | .z mt_|VibratoT|
|00004c40| 61 62 6c 65 28 50 43 29 | 2c 41 34 00 20 20 80 7d |able(PC)|,A4. .}|
|00004c50| 2e 57 20 23 32 2c 44 30 | 00 20 20 80 42 2e 57 20 |.W #2,D0|. .B.W |
|00004c60| 23 24 30 30 31 46 2c 44 | 30 00 20 20 80 81 20 23 |#$001F,D|0. .. #|
|00004c70| 30 2c 44 32 00 20 20 80 | 7e 2e 42 20 20 6e 5f 77 |0,D2. .|~.B n_w|
|00004c80| 61 76 65 63 6f 6e 74 72 | 6f 6c 28 41 36 29 2c 44 |avecontr|ol(A6),D|
|00004c90| 32 00 20 20 80 42 2e 42 | 20 23 24 30 33 2c 44 32 |2. .B.B| #$03,D2|
|00004ca0| 00 20 20 80 48 20 6d 74 | 5f 76 69 62 5f 73 69 6e |. .H mt|_vib_sin|
|00004cb0| 65 00 20 20 80 7c 2e 42 | 20 23 33 2c 44 30 00 20 |e. .|.B| #3,D0. |
|00004cc0| 20 80 5c 2e 42 20 23 31 | 2c 44 32 00 20 20 80 48 | .\.B #1|,D2. .H|
|00004cd0| 20 6d 74 5f 76 69 62 5f | 72 61 6d 70 64 6f 77 6e | mt_vib_|rampdown|
|00004ce0| 00 20 20 80 7e 2e 42 20 | 20 23 32 35 35 2c 44 32 |. .~.B | #255,D2|
|00004cf0| 00 20 20 80 58 20 6d 74 | 5f 76 69 62 5f 73 65 74 |. .X mt|_vib_set|
|00004d00| 00 6d 74 5f 76 69 62 5f | 72 61 6d 70 64 6f 77 6e |.mt_vib_|rampdown|
|00004d10| 00 20 20 80 b0 2e 42 20 | 6e 5f 76 69 62 72 61 74 |. ...B |n_vibrat|
|00004d20| 6f 70 6f 73 28 41 36 29 | 00 20 20 80 51 20 6d 74 |opos(A6)|. .Q mt|
|00004d30| 5f 76 69 62 5f 72 61 6d | 70 64 6f 77 6e 32 00 20 |_vib_ram|pdown2. |
|00004d40| 20 80 7e 2e 42 20 20 23 | 32 35 35 2c 44 32 00 20 | .~.B #|255,D2. |
|00004d50| 20 80 a7 2e 42 20 44 30 | 2c 44 32 00 20 20 80 58 | ...B D0|,D2. .X|
|00004d60| 20 6d 74 5f 76 69 62 5f | 73 65 74 00 6d 74 5f 76 | mt_vib_|set.mt_v|
|00004d70| 69 62 5f 72 61 6d 70 64 | 6f 77 6e 32 00 20 20 80 |ib_rampd|own2. .|
|00004d80| 7e 2e 42 20 20 44 30 2c | 44 32 00 20 20 80 58 20 |~.B D0,|D2. .X |
|00004d90| 6d 74 5f 76 69 62 5f 73 | 65 74 00 6d 74 5f 76 69 |mt_vib_s|et.mt_vi|
|00004da0| 62 5f 73 69 6e 65 00 20 | 20 80 7e 2e 42 20 20 30 |b_sine. | .~.B 0|
|00004db0| 28 41 34 2c 44 30 2e 57 | 29 2c 44 32 00 6d 74 5f |(A4,D0.W|),D2.mt_|
|00004dc0| 76 69 62 5f 73 65 74 00 | 20 20 80 7e 2e 42 20 20 |vib_set.| .~.B |
|00004dd0| 6e 5f 76 69 62 72 61 74 | 6f 63 6d 64 28 41 36 29 |n_vibrat|ocmd(A6)|
|00004de0| 2c 44 30 00 20 20 80 42 | 2e 57 20 23 31 35 2c 44 |,D0. .B|.W #15,D|
|00004df0| 30 00 20 20 80 84 20 20 | 44 30 2c 44 32 00 20 20 |0. .. |D0,D2. |
|00004e00| 80 7d 2e 57 20 23 37 2c | 44 32 00 20 20 80 7e 2e |.}.W #7,|D2. .~.|
|00004e10| 57 20 20 6e 5f 70 65 72 | 69 6f 64 28 41 36 29 2c |W n_per|iod(A6),|
|00004e20| 44 30 00 20 20 80 b0 2e | 42 20 6e 5f 76 69 62 72 |D0. ...|B n_vibr|
|00004e30| 61 74 6f 70 6f 73 28 41 | 36 29 00 20 20 80 4f 20 |atopos(A|6). .O |
|00004e40| 6d 74 5f 56 69 62 72 61 | 74 6f 4e 65 67 00 20 20 |mt_Vibra|toNeg. |
|00004e50| 80 3d 2e 57 20 44 32 2c | 44 30 00 20 20 80 58 20 |.=.W D2,|D0. .X |
|00004e60| 6d 74 5f 56 69 62 72 61 | 74 6f 33 00 6d 74 5f 56 |mt_Vibra|to3.mt_V|
|00004e70| 69 62 72 61 74 6f 4e 65 | 67 00 20 20 80 a7 2e 57 |ibratoNe|g. ...W|
|00004e80| 20 44 32 2c 44 30 00 6d | 74 5f 56 69 62 72 61 74 | D2,D0.m|t_Vibrat|
|00004e90| 6f 33 00 20 20 80 7e 2e | 57 20 20 44 30 2c 36 28 |o3. .~.|W D0,6(|
|00004ea0| 41 35 29 00 20 20 80 7e | 2e 42 20 20 6e 5f 76 69 |A5). .~|.B n_vi|
|00004eb0| 62 72 61 74 6f 63 6d 64 | 28 41 36 29 2c 44 30 00 |bratocmd|(A6),D0.|
|00004ec0| 20 20 80 7d 2e 57 20 23 | 32 2c 44 30 00 20 20 80 | .}.W #|2,D0. .|
|00004ed0| 42 2e 57 20 23 24 30 30 | 33 43 2c 44 30 00 20 20 |B.W #$00|3C,D0. |
|00004ee0| 80 3d 2e 42 20 44 30 2c | 6e 5f 76 69 62 72 61 74 |.=.B D0,|n_vibrat|
|00004ef0| 6f 70 6f 73 28 41 36 29 | 00 20 20 80 94 00 00 6d |opos(A6)|. ....m|
|00004f00| 74 5f 54 6f 6e 65 50 6c | 75 73 56 6f 6c 53 6c 69 |t_TonePl|usVolSli|
|00004f10| 64 65 00 20 20 80 59 20 | 6d 74 5f 54 6f 6e 65 50 |de. .Y |mt_ToneP|
|00004f20| 6f 72 74 4e 6f 43 68 61 | 6e 67 65 00 20 20 80 58 |ortNoCha|nge. .X|
|00004f30| 20 6d 74 5f 56 6f 6c 75 | 6d 65 53 6c 69 64 65 00 | mt_Volu|meSlide.|
|00004f40| 00 6d 74 5f 56 69 62 72 | 61 74 6f 50 6c 75 73 56 |.mt_Vibr|atoPlusV|
|00004f50| 6f 6c 53 6c 69 64 65 00 | 20 20 80 59 20 6d 74 5f |olSlide.| .Y mt_|
|00004f60| 56 69 62 72 61 74 6f 32 | 00 20 20 80 58 20 6d 74 |Vibrato2|. .X mt|
|00004f70| 5f 56 6f 6c 75 6d 65 53 | 6c 69 64 65 00 00 6d 74 |_VolumeS|lide..mt|
|00004f80| 5f 54 72 65 6d 6f 6c 6f | 00 20 20 80 7e 2e 42 20 |_Tremolo|. .~.B |
|00004f90| 20 6e 5f 63 6d 64 6c 6f | 28 41 36 29 2c 44 30 00 | n_cmdlo|(A6),D0.|
|00004fa0| 20 20 80 48 20 6d 74 5f | 54 72 65 6d 6f 6c 6f 32 | .H mt_|Tremolo2|
|00004fb0| 00 20 20 80 7e 2e 42 20 | 20 6e 5f 74 72 65 6d 6f |. .~.B | n_tremo|
|00004fc0| 6c 6f 63 6d 64 28 41 36 | 29 2c 44 32 00 20 20 80 |locmd(A6|),D2. .|
|00004fd0| 42 2e 42 20 23 24 30 46 | 2c 44 30 00 20 20 80 48 |B.B #$0F|,D0. .H|
|00004fe0| 20 6d 74 5f 74 72 65 73 | 6b 69 70 00 20 20 80 42 | mt_tres|kip. .B|
|00004ff0| 2e 42 20 23 24 46 30 2c | 44 32 00 20 20 80 8a 2e |.B #$F0,|D2. ...|
|00005000| 42 20 20 44 30 2c 44 32 | 00 6d 74 5f 74 72 65 73 |B D0,D2|.mt_tres|
|00005010| 6b 69 70 00 20 20 80 7e | 2e 42 20 20 6e 5f 63 6d |kip. .~|.B n_cm|
|00005020| 64 6c 6f 28 41 36 29 2c | 44 30 00 20 20 80 42 2e |dlo(A6),|D0. .B.|
|00005030| 42 20 23 24 46 30 2c 44 | 30 00 20 20 80 48 20 6d |B #$F0,D|0. .H m|
|00005040| 74 5f 74 72 65 73 6b 69 | 70 32 00 20 20 80 42 2e |t_treski|p2. .B.|
|00005050| 42 20 23 24 30 46 2c 44 | 32 00 20 20 80 8a 2e 42 |B #$0F,D|2. ...B|
|00005060| 20 20 44 30 2c 44 32 00 | 6d 74 5f 74 72 65 73 6b | D0,D2.|mt_tresk|
|00005070| 69 70 32 00 20 20 80 7e | 2e 42 20 20 44 32 2c 6e |ip2. .~|.B D2,n|
|00005080| 5f 74 72 65 6d 6f 6c 6f | 63 6d 64 28 41 36 29 00 |_tremolo|cmd(A6).|
|00005090| 6d 74 5f 54 72 65 6d 6f | 6c 6f 32 00 20 20 80 7e |mt_Tremo|lo2. .~|
|000050a0| 2e 42 20 20 6e 5f 74 72 | 65 6d 6f 6c 6f 70 6f 73 |.B n_tr|emolopos|
|000050b0| 28 41 36 29 2c 44 30 00 | 20 20 80 7a 20 6d 74 5f |(A6),D0.| .z mt_|
|000050c0| 56 69 62 72 61 74 6f 54 | 61 62 6c 65 28 50 43 29 |VibratoT|able(PC)|
|000050d0| 2c 41 34 00 20 20 80 7d | 2e 57 20 23 32 2c 44 30 |,A4. .}|.W #2,D0|
|000050e0| 00 20 20 80 42 2e 57 20 | 23 24 30 30 31 46 2c 44 |. .B.W |#$001F,D|
|000050f0| 30 00 20 20 80 81 20 23 | 30 2c 44 32 00 20 20 80 |0. .. #|0,D2. .|
|00005100| 7e 2e 42 20 20 6e 5f 77 | 61 76 65 63 6f 6e 74 72 |~.B n_w|avecontr|
|00005110| 6f 6c 28 41 36 29 2c 44 | 32 00 20 20 80 7d 2e 42 |ol(A6),D|2. .}.B|
|00005120| 20 23 34 2c 44 32 00 20 | 20 80 42 2e 42 20 23 24 | #4,D2. | .B.B #$|
|00005130| 30 33 2c 44 32 00 20 20 | 80 48 20 6d 74 5f 74 72 |03,D2. |.H mt_tr|
|00005140| 65 5f 73 69 6e 65 00 20 | 20 80 7c 2e 42 20 23 33 |e_sine. | .|.B #3|
|00005150| 2c 44 30 00 20 20 80 5c | 2e 42 20 23 31 2c 44 32 |,D0. .\|.B #1,D2|
|00005160| 00 20 20 80 48 20 6d 74 | 5f 74 72 65 5f 72 61 6d |. .H mt|_tre_ram|
|00005170| 70 64 6f 77 6e 00 20 20 | 80 7e 2e 42 20 20 23 32 |pdown. |.~.B #2|
|00005180| 35 35 2c 44 32 00 20 20 | 80 58 20 6d 74 5f 74 72 |55,D2. |.X mt_tr|
|00005190| 65 5f 73 65 74 00 6d 74 | 5f 74 72 65 5f 72 61 6d |e_set.mt|_tre_ram|
|000051a0| 70 64 6f 77 6e 00 20 20 | 80 b0 2e 42 20 6e 5f 76 |pdown. |...B n_v|
|000051b0| 69 62 72 61 74 6f 70 6f | 73 28 41 36 29 00 20 20 |ibratopo|s(A6). |
|000051c0| 80 51 20 6d 74 5f 74 72 | 65 5f 72 61 6d 70 64 6f |.Q mt_tr|e_rampdo|
|000051d0| 77 6e 32 00 20 20 80 7e | 2e 42 20 20 23 32 35 35 |wn2. .~|.B #255|
|000051e0| 2c 44 32 00 20 20 80 a7 | 2e 42 20 44 30 2c 44 32 |,D2. ..|.B D0,D2|
|000051f0| 00 20 20 80 58 20 6d 74 | 5f 74 72 65 5f 73 65 74 |. .X mt|_tre_set|
|00005200| 00 6d 74 5f 74 72 65 5f | 72 61 6d 70 64 6f 77 6e |.mt_tre_|rampdown|
|00005210| 32 00 20 20 80 7e 2e 42 | 20 20 44 30 2c 44 32 00 |2. .~.B| D0,D2.|
|00005220| 20 20 80 58 20 6d 74 5f | 74 72 65 5f 73 65 74 00 | .X mt_|tre_set.|
|00005230| 6d 74 5f 74 72 65 5f 73 | 69 6e 65 00 20 20 80 7e |mt_tre_s|ine. .~|
|00005240| 2e 42 20 20 30 28 41 34 | 2c 44 30 2e 57 29 2c 44 |.B 0(A4|,D0.W),D|
|00005250| 32 00 6d 74 5f 74 72 65 | 5f 73 65 74 00 20 20 80 |2.mt_tre|_set. .|
|00005260| 7e 2e 42 20 20 6e 5f 74 | 72 65 6d 6f 6c 6f 63 6d |~.B n_t|remolocm|
|00005270| 64 28 41 36 29 2c 44 30 | 00 20 20 80 42 2e 57 20 |d(A6),D0|. .B.W |
|00005280| 23 31 35 2c 44 30 00 20 | 20 80 84 20 20 44 30 2c |#15,D0. | .. D0,|
|00005290| 44 32 00 20 20 80 7d 2e | 57 20 23 36 2c 44 32 00 |D2. .}.|W #6,D2.|
|000052a0| 20 20 80 81 20 23 30 2c | 44 30 00 20 20 80 7e 2e | .. #0,|D0. .~.|
|000052b0| 42 20 20 6e 5f 76 6f 6c | 75 6d 65 28 41 36 29 2c |B n_vol|ume(A6),|
|000052c0| 44 30 00 20 20 80 b0 2e | 42 20 6e 5f 74 72 65 6d |D0. ...|B n_trem|
|000052d0| 6f 6c 6f 70 6f 73 28 41 | 36 29 00 20 20 80 4f 20 |olopos(A|6). .O |
|000052e0| 6d 74 5f 54 72 65 6d 6f | 6c 6f 4e 65 67 00 20 20 |mt_Tremo|loNeg. |
|000052f0| 80 3d 2e 57 20 44 32 2c | 44 30 00 20 20 80 58 20 |.=.W D2,|D0. .X |
|00005300| 6d 74 5f 54 72 65 6d 6f | 6c 6f 33 00 6d 74 5f 54 |mt_Tremo|lo3.mt_T|
|00005310| 72 65 6d 6f 6c 6f 4e 65 | 67 00 20 20 80 a7 2e 57 |remoloNe|g. ...W|
|00005320| 20 44 32 2c 44 30 00 6d | 74 5f 54 72 65 6d 6f 6c | D2,D0.m|t_Tremol|
|00005330| 6f 33 00 20 20 80 51 20 | 6d 74 5f 54 72 65 6d 6f |o3. .Q |mt_Tremo|
|00005340| 6c 6f 53 6b 69 70 00 20 | 20 80 5b 2e 57 20 44 30 |loSkip. | .[.W D0|
|00005350| 00 6d 74 5f 54 72 65 6d | 6f 6c 6f 53 6b 69 70 00 |.mt_Trem|oloSkip.|
|00005360| 20 20 80 5c 2e 57 20 23 | 24 34 30 2c 44 30 00 20 | .\.W #|$40,D0. |
|00005370| 20 80 4d 20 6d 74 5f 54 | 72 65 6d 6f 6c 6f 4f 6b | .M mt_T|remoloOk|
|00005380| 00 20 20 80 7e 2e 57 20 | 20 23 24 34 30 2c 44 30 |. .~.W | #$40,D0|
|00005390| 00 6d 74 5f 54 72 65 6d | 6f 6c 6f 4f 6b 00 20 20 |.mt_Trem|oloOk. |
|000053a0| 80 7e 2e 57 20 20 44 30 | 2c 38 28 41 35 29 00 20 |.~.W D0|,8(A5). |
|000053b0| 20 80 7e 2e 42 20 20 6e | 5f 74 72 65 6d 6f 6c 6f | .~.B n|_tremolo|
|000053c0| 63 6d 64 28 41 36 29 2c | 44 30 00 20 20 80 7d 2e |cmd(A6),|D0. .}.|
|000053d0| 57 20 23 32 2c 44 30 00 | 20 20 80 42 2e 57 20 23 |W #2,D0.| .B.W #|
|000053e0| 24 30 30 33 43 2c 44 30 | 00 20 20 80 3d 2e 42 20 |$003C,D0|. .=.B |
|000053f0| 44 30 2c 6e 5f 74 72 65 | 6d 6f 6c 6f 70 6f 73 28 |D0,n_tre|molopos(|
|00005400| 41 36 29 00 20 20 80 94 | 00 00 6d 74 5f 53 61 6d |A6). ..|..mt_Sam|
|00005410| 70 6c 65 4f 66 66 73 65 | 74 00 20 20 80 81 20 23 |pleOffse|t. .. #|
|00005420| 30 2c 44 30 00 20 20 80 | 7e 2e 42 20 20 6e 5f 63 |0,D0. .|~.B n_c|
|00005430| 6d 64 6c 6f 28 41 36 29 | 2c 44 30 00 20 20 80 48 |mdlo(A6)|,D0. .H|
|00005440| 20 6d 74 5f 73 6f 6e 6f | 6e 65 77 00 20 20 80 7e | mt_sono|new. .~|
|00005450| 2e 42 20 20 44 30 2c 6e | 5f 73 61 6d 70 6c 65 6f |.B D0,n|_sampleo|
|00005460| 66 66 73 65 74 28 41 36 | 29 00 6d 74 5f 73 6f 6e |ffset(A6|).mt_son|
|00005470| 6f 6e 65 77 00 20 20 80 | 7e 2e 42 20 20 6e 5f 73 |onew. .|~.B n_s|
|00005480| 61 6d 70 6c 65 6f 66 66 | 73 65 74 28 41 36 29 2c |ampleoff|set(A6),|
|00005490| 44 30 00 20 20 80 7c 2e | 57 20 23 37 2c 44 30 00 |D0. .|.|W #7,D0.|
|000054a0| 20 20 80 5c 2e 57 20 6e | 5f 6c 65 6e 67 74 68 28 | .\.W n|_length(|
|000054b0| 41 36 29 2c 44 30 00 20 | 20 80 49 20 6d 74 5f 73 |A6),D0. | .I mt_s|
|000054c0| 6f 66 73 6b 69 70 00 20 | 20 80 a7 2e 57 20 44 30 |ofskip. | ...W D0|
|000054d0| 2c 6e 5f 6c 65 6e 67 74 | 68 28 41 36 29 00 20 20 |,n_lengt|h(A6). |
|000054e0| 80 7c 2e 57 20 23 31 2c | 44 30 00 20 20 80 3d 2e |.|.W #1,|D0. .=.|
|000054f0| 4c 20 44 30 2c 6e 5f 73 | 74 61 72 74 28 41 36 29 |L D0,n_s|tart(A6)|
|00005500| 00 20 20 80 94 00 6d 74 | 5f 73 6f 66 73 6b 69 70 |. ...mt|_sofskip|
|00005510| 00 20 20 80 7e 2e 57 20 | 20 23 24 30 30 30 31 2c |. .~.W | #$0001,|
|00005520| 6e 5f 6c 65 6e 67 74 68 | 28 41 36 29 00 20 20 80 |n_length|(A6). .|
|00005530| 94 00 00 6d 74 5f 56 6f | 6c 75 6d 65 53 6c 69 64 |...mt_Vo|lumeSlid|
|00005540| 65 00 20 20 80 81 20 23 | 30 2c 44 30 00 20 20 80 |e. .. #|0,D0. .|
|00005550| 7e 2e 42 20 20 6e 5f 63 | 6d 64 6c 6f 28 41 36 29 |~.B n_c|mdlo(A6)|
|00005560| 2c 44 30 00 20 20 80 7d | 2e 42 20 23 34 2c 44 30 |,D0. .}|.B #4,D0|
|00005570| 00 20 20 80 b0 2e 42 20 | 44 30 00 20 20 80 48 20 |. ...B |D0. .H |
|00005580| 6d 74 5f 56 6f 6c 53 6c | 69 64 65 44 6f 77 6e 00 |mt_VolSl|ideDown.|
|00005590| 6d 74 5f 56 6f 6c 53 6c | 69 64 65 55 70 00 20 20 |mt_VolSl|ideUp. |
|000055a0| 80 3d 2e 42 20 44 30 2c | 6e 5f 76 6f 6c 75 6d 65 |.=.B D0,|n_volume|
|000055b0| 28 41 36 29 00 20 20 80 | 5c 2e 42 20 23 24 34 30 |(A6). .|\.B #$40|
|000055c0| 2c 6e 5f 76 6f 6c 75 6d | 65 28 41 36 29 00 20 20 |,n_volum|e(A6). |
|000055d0| 80 4f 20 6d 74 5f 76 73 | 75 73 6b 69 70 00 20 20 |.O mt_vs|uskip. |
|000055e0| 80 7e 2e 42 20 20 23 24 | 34 30 2c 6e 5f 76 6f 6c |.~.B #$|40,n_vol|
|000055f0| 75 6d 65 28 41 36 29 00 | 6d 74 5f 76 73 75 73 6b |ume(A6).|mt_vsusk|
|00005600| 69 70 00 20 20 80 7e 2e | 42 20 20 6e 5f 76 6f 6c |ip. .~.|B n_vol|
|00005610| 75 6d 65 28 41 36 29 2c | 44 30 00 20 20 80 7e 2e |ume(A6),|D0. .~.|
|00005620| 57 20 20 44 30 2c 38 28 | 41 35 29 00 20 20 80 94 |W D0,8(|A5). ..|
|00005630| 00 00 6d 74 5f 56 6f 6c | 53 6c 69 64 65 44 6f 77 |..mt_Vol|SlideDow|
|00005640| 6e 00 20 20 80 81 20 23 | 30 2c 44 30 00 20 20 80 |n. .. #|0,D0. .|
|00005650| 7e 2e 42 20 20 6e 5f 63 | 6d 64 6c 6f 28 41 36 29 |~.B n_c|mdlo(A6)|
|00005660| 2c 44 30 00 20 20 80 42 | 2e 42 20 23 24 30 46 2c |,D0. .B|.B #$0F,|
|00005670| 44 30 00 6d 74 5f 56 6f | 6c 53 6c 69 64 65 44 6f |D0.mt_Vo|lSlideDo|
|00005680| 77 6e 32 00 20 20 80 a7 | 2e 42 20 44 30 2c 6e 5f |wn2. ..|.B D0,n_|
|00005690| 76 6f 6c 75 6d 65 28 41 | 36 29 00 20 20 80 51 20 |volume(A|6). .Q |
|000056a0| 6d 74 5f 76 73 64 73 6b | 69 70 00 20 20 80 5b 2e |mt_vsdsk|ip. .[.|
|000056b0| 42 20 6e 5f 76 6f 6c 75 | 6d 65 28 41 36 29 00 6d |B n_volu|me(A6).m|
|000056c0| 74 5f 76 73 64 73 6b 69 | 70 00 20 20 80 7e 2e 42 |t_vsdski|p. .~.B|
|000056d0| 20 20 6e 5f 76 6f 6c 75 | 6d 65 28 41 36 29 2c 44 | n_volu|me(A6),D|
|000056e0| 30 00 20 20 80 7e 2e 57 | 20 20 44 30 2c 38 28 41 |0. .~.W| D0,8(A|
|000056f0| 35 29 00 20 20 80 94 00 | 00 6d 74 5f 50 6f 73 69 |5). ...|.mt_Posi|
|00005700| 74 69 6f 6e 4a 75 6d 70 | 00 20 20 80 7e 2e 42 20 |tionJump|. .~.B |
|00005710| 20 6e 5f 63 6d 64 6c 6f | 28 41 36 29 2c 44 30 00 | n_cmdlo|(A6),D0.|
|00005720| 20 20 80 aa 2e 42 20 20 | 23 31 2c 44 30 00 20 20 | ...B |#1,D0. |
|00005730| 80 7e 2e 42 20 20 44 30 | 2c 6d 74 5f 53 6f 6e 67 |.~.B D0|,mt_Song|
|00005740| 50 6f 73 00 6d 74 5f 70 | 6a 32 3a 20 20 80 5b 2e |Pos.mt_p|j2: .[.|
|00005750| 42 20 6d 74 5f 50 42 72 | 65 61 6b 50 6f 73 00 20 |B mt_PBr|eakPos. |
|00005760| 20 80 a4 20 20 6d 74 5f | 50 6f 73 4a 75 6d 70 46 | .. mt_|PosJumpF|
|00005770| 6c 61 67 00 20 20 80 94 | 00 00 6d 74 5f 56 6f 6c |lag. ..|..mt_Vol|
|00005780| 75 6d 65 43 68 61 6e 67 | 65 00 20 20 80 81 20 23 |umeChang|e. .. #|
|00005790| 30 2c 44 30 00 20 20 80 | 7e 2e 42 20 20 6e 5f 63 |0,D0. .|~.B n_c|
|000057a0| 6d 64 6c 6f 28 41 36 29 | 2c 44 30 00 20 20 80 5c |mdlo(A6)|,D0. .\|
|000057b0| 2e 42 20 23 24 34 30 2c | 44 30 00 20 20 80 4d 20 |.B #$40,|D0. .M |
|000057c0| 6d 74 5f 56 6f 6c 75 6d | 65 4f 6b 00 20 20 80 81 |mt_Volum|eOk. ..|
|000057d0| 20 23 24 34 30 2c 44 30 | 00 6d 74 5f 56 6f 6c 75 | #$40,D0|.mt_Volu|
|000057e0| 6d 65 4f 6b 00 20 20 80 | 7e 2e 42 20 20 44 30 2c |meOk. .|~.B D0,|
|000057f0| 6e 5f 76 6f 6c 75 6d 65 | 28 41 36 29 00 20 20 80 |n_volume|(A6). .|
|00005800| 7e 2e 57 20 20 44 30 2c | 38 28 41 35 29 00 20 20 |~.W D0,|8(A5). |
|00005810| 80 94 00 00 6d 74 5f 50 | 61 74 74 65 72 6e 42 72 |....mt_P|atternBr|
|00005820| 65 61 6b 00 20 20 80 81 | 20 23 30 2c 44 30 00 20 |eak. ..| #0,D0. |
|00005830| 20 80 7e 2e 42 20 20 6e | 5f 63 6d 64 6c 6f 28 41 | .~.B n|_cmdlo(A|
|00005840| 36 29 2c 44 30 00 20 20 | 80 7e 2e 4c 20 20 44 30 |6),D0. |.~.L D0|
|00005850| 2c 44 32 00 20 20 80 7d | 2e 42 20 23 34 2c 44 30 |,D2. .}|.B #4,D0|
|00005860| 00 20 20 80 84 20 20 23 | 31 30 2c 44 30 00 20 20 |. .. #|10,D0. |
|00005870| 80 42 2e 42 20 23 24 30 | 46 2c 44 32 00 20 20 80 |.B.B #$0|F,D2. .|
|00005880| 3d 2e 42 20 44 32 2c 44 | 30 00 20 20 80 5c 2e 42 |=.B D2,D|0. .\.B|
|00005890| 20 23 36 33 2c 44 30 00 | 20 20 80 4b 20 6d 74 5f | #63,D0.| .K mt_|
|000058a0| 70 6a 32 00 20 20 80 7e | 2e 42 20 20 44 30 2c 6d |pj2. .~|.B D0,m|
|000058b0| 74 5f 50 42 72 65 61 6b | 50 6f 73 00 20 20 80 a4 |t_PBreak|Pos. ..|
|000058c0| 20 20 6d 74 5f 50 6f 73 | 4a 75 6d 70 46 6c 61 67 | mt_Pos|JumpFlag|
|000058d0| 00 20 20 80 94 00 00 6d | 74 5f 53 65 74 53 70 65 |. ....m|t_SetSpe|
|000058e0| 65 64 00 20 20 80 81 20 | 23 30 2c 44 30 00 20 20 |ed. .. |#0,D0. |
|000058f0| 80 7e 2e 42 20 20 33 28 | 41 36 29 2c 44 30 00 20 |.~.B 3(|A6),D0. |
|00005900| 20 80 48 20 6d 74 5f 65 | 6e 64 00 20 20 80 5c 2e | .H mt_e|nd. .\.|
|00005910| 42 20 23 33 32 2c 44 30 | 00 20 20 80 46 20 53 65 |B #32,D0|. .F Se|
|00005920| 74 54 65 6d 70 6f 00 20 | 20 80 5b 2e 42 20 6d 74 |tTempo. | .[.B mt|
|00005930| 5f 63 6f 75 6e 74 65 72 | 00 20 20 80 7e 2e 42 20 |_counter|. .~.B |
|00005940| 20 44 30 2c 6d 74 5f 73 | 70 65 65 64 00 20 20 80 | D0,mt_s|peed. .|
|00005950| 94 00 00 6d 74 5f 43 68 | 65 63 6b 4d 6f 72 65 45 |...mt_Ch|eckMoreE|
|00005960| 66 78 00 20 20 80 59 20 | 6d 74 5f 55 70 64 61 74 |fx. .Y |mt_Updat|
|00005970| 65 46 75 6e 6b 00 20 20 | 80 7e 2e 42 20 20 32 28 |eFunk. |.~.B 2(|
|00005980| 41 36 29 2c 44 30 00 20 | 20 80 42 2e 42 20 23 24 |A6),D0. | .B.B #$|
|00005990| 30 46 2c 44 30 00 20 20 | 80 5c 2e 42 20 23 24 39 |0F,D0. |.\.B #$9|
|000059a0| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 53 61 6d 70 |,D0. .H| mt_Samp|
|000059b0| 6c 65 4f 66 66 73 65 74 | 00 20 20 80 5c 2e 42 20 |leOffset|. .\.B |
|000059c0| 23 24 42 2c 44 30 00 20 | 20 80 48 20 6d 74 5f 50 |#$B,D0. | .H mt_P|
|000059d0| 6f 73 69 74 69 6f 6e 4a | 75 6d 70 00 20 20 80 5c |ositionJ|ump. .\|
|000059e0| 2e 42 20 23 24 44 2c 44 | 30 00 20 20 80 48 20 6d |.B #$D,D|0. .H m|
|000059f0| 74 5f 50 61 74 74 65 72 | 6e 42 72 65 61 6b 00 20 |t_Patter|nBreak. |
|00005a00| 20 80 5c 2e 42 20 23 24 | 45 2c 44 30 00 20 20 80 | .\.B #$|E,D0. .|
|00005a10| 48 20 6d 74 5f 45 5f 43 | 6f 6d 6d 61 6e 64 73 00 |H mt_E_C|ommands.|
|00005a20| 20 20 80 5c 2e 42 20 23 | 24 46 2c 44 30 00 20 20 | .\.B #|$F,D0. |
|00005a30| 80 48 20 6d 74 5f 53 65 | 74 53 70 65 65 64 00 20 |.H mt_Se|tSpeed. |
|00005a40| 20 80 5c 2e 42 20 23 24 | 43 2c 44 30 00 20 20 80 | .\.B #$|C,D0. .|
|00005a50| 48 20 6d 74 5f 56 6f 6c | 75 6d 65 43 68 61 6e 67 |H mt_Vol|umeChang|
|00005a60| 65 00 20 20 80 58 20 6d | 74 5f 50 65 72 4e 6f 70 |e. .X m|t_PerNop|
|00005a70| 00 00 6d 74 5f 45 5f 43 | 6f 6d 6d 61 6e 64 73 00 |..mt_E_C|ommands.|
|00005a80| 20 20 80 7e 2e 42 20 20 | 6e 5f 63 6d 64 6c 6f 28 | .~.B |n_cmdlo(|
|00005a90| 41 36 29 2c 44 30 00 20 | 20 80 42 2e 42 20 23 24 |A6),D0. | .B.B #$|
|00005aa0| 46 30 2c 44 30 00 20 20 | 80 7d 2e 42 20 23 34 2c |F0,D0. |.}.B #4,|
|00005ab0| 44 30 00 20 20 80 48 20 | 6d 74 5f 46 69 6c 74 65 |D0. .H |mt_Filte|
|00005ac0| 72 4f 6e 4f 66 66 00 20 | 20 80 5c 2e 42 20 23 31 |rOnOff. | .\.B #1|
|00005ad0| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 46 69 6e 65 |,D0. .H| mt_Fine|
|00005ae0| 50 6f 72 74 61 55 70 00 | 20 20 80 5c 2e 42 20 23 |PortaUp.| .\.B #|
|00005af0| 32 2c 44 30 00 20 20 80 | 48 20 6d 74 5f 46 69 6e |2,D0. .|H mt_Fin|
|00005b00| 65 50 6f 72 74 61 44 6f | 77 6e 00 20 20 80 5c 2e |ePortaDo|wn. .\.|
|00005b10| 42 20 23 33 2c 44 30 00 | 20 20 80 48 20 6d 74 5f |B #3,D0.| .H mt_|
|00005b20| 53 65 74 47 6c 69 73 73 | 43 6f 6e 74 72 6f 6c 00 |SetGliss|Control.|
|00005b30| 20 20 80 5c 2e 42 20 23 | 34 2c 44 30 00 20 20 80 | .\.B #|4,D0. .|
|00005b40| 48 20 6d 74 5f 53 65 74 | 56 69 62 72 61 74 6f 43 |H mt_Set|VibratoC|
|00005b50| 6f 6e 74 72 6f 6c 00 20 | 20 80 5c 2e 42 20 23 35 |ontrol. | .\.B #5|
|00005b60| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 53 65 74 46 |,D0. .H| mt_SetF|
|00005b70| 69 6e 65 54 75 6e 65 00 | 20 20 80 5c 2e 42 20 23 |ineTune.| .\.B #|
|00005b80| 36 2c 44 30 00 20 20 80 | 48 20 6d 74 5f 4a 75 6d |6,D0. .|H mt_Jum|
|00005b90| 70 4c 6f 6f 70 00 20 20 | 80 5c 2e 42 20 23 37 2c |pLoop. |.\.B #7,|
|00005ba0| 44 30 00 20 20 80 48 20 | 6d 74 5f 53 65 74 54 72 |D0. .H |mt_SetTr|
|00005bb0| 65 6d 6f 6c 6f 43 6f 6e | 74 72 6f 6c 00 20 20 80 |emoloCon|trol. .|
|00005bc0| 5c 2e 42 20 23 39 2c 44 | 30 00 20 20 80 48 20 6d |\.B #9,D|0. .H m|
|00005bd0| 74 5f 52 65 74 72 69 67 | 4e 6f 74 65 00 20 20 80 |t_Retrig|Note. .|
|00005be0| 5c 2e 42 20 23 24 41 2c | 44 30 00 20 20 80 48 20 |\.B #$A,|D0. .H |
|00005bf0| 6d 74 5f 56 6f 6c 75 6d | 65 46 69 6e 65 55 70 00 |mt_Volum|eFineUp.|
|00005c00| 20 20 80 5c 2e 42 20 23 | 24 42 2c 44 30 00 20 20 | .\.B #|$B,D0. |
|00005c10| 80 48 20 6d 74 5f 56 6f | 6c 75 6d 65 46 69 6e 65 |.H mt_Vo|lumeFine|
|00005c20| 44 6f 77 6e 00 20 20 80 | 5c 2e 42 20 23 24 43 2c |Down. .|\.B #$C,|
|00005c30| 44 30 00 20 20 80 48 20 | 6d 74 5f 4e 6f 74 65 43 |D0. .H |mt_NoteC|
|00005c40| 75 74 00 20 20 80 5c 2e | 42 20 23 24 44 2c 44 30 |ut. .\.|B #$D,D0|
|00005c50| 00 20 20 80 48 20 6d 74 | 5f 4e 6f 74 65 44 65 6c |. .H mt|_NoteDel|
|00005c60| 61 79 00 20 20 80 5c 2e | 42 20 23 24 45 2c 44 30 |ay. .\.|B #$E,D0|
|00005c70| 00 20 20 80 48 20 6d 74 | 5f 50 61 74 74 65 72 6e |. .H mt|_Pattern|
|00005c80| 44 65 6c 61 79 00 20 20 | 80 5c 2e 42 20 23 24 46 |Delay. |.\.B #$F|
|00005c90| 2c 44 30 00 20 20 80 48 | 20 6d 74 5f 46 75 6e 6b |,D0. .H| mt_Funk|
|00005ca0| 49 74 00 20 20 80 94 00 | 00 6d 74 5f 46 69 6c 74 |It. ...|.mt_Filt|
|00005cb0| 65 72 4f 6e 4f 66 66 00 | 20 20 80 7e 2e 42 20 20 |erOnOff.| .~.B |
|00005cc0| 6e 5f 63 6d 64 6c 6f 28 | 41 36 29 2c 44 30 00 20 |n_cmdlo(|A6),D0. |
|00005cd0| 20 80 42 2e 42 20 23 31 | 2c 44 30 00 20 20 80 44 | .B.B #1|,D0. .D|
|00005ce0| 2e 42 20 23 31 2c 44 30 | 00 20 20 80 43 2e 42 20 |.B #1,D0|. .C.B |
|00005cf0| 23 24 46 44 2c 24 42 46 | 45 30 30 31 00 20 20 80 |#$FD,$BF|E001. .|
|00005d00| 8a 2e 42 20 20 44 30 2c | 24 42 46 45 30 30 31 00 |..B D0,|$BFE001.|
|00005d10| 20 20 80 94 00 00 6d 74 | 5f 53 65 74 47 6c 69 73 | ....mt|_SetGlis|
|00005d20| 73 43 6f 6e 74 72 6f 6c | 00 20 20 80 7e 2e 42 20 |sControl|. .~.B |
|00005d30| 20 6e 5f 63 6d 64 6c 6f | 28 41 36 29 2c 44 30 00 | n_cmdlo|(A6),D0.|
|00005d40| 20 20 80 42 2e 42 20 23 | 24 30 46 2c 44 30 00 20 | .B.B #|$0F,D0. |
|00005d50| 20 80 43 2e 42 20 23 24 | 46 30 2c 6e 5f 67 6c 69 | .C.B #$|F0,n_gli|
|00005d60| 73 73 66 75 6e 6b 28 41 | 36 29 00 20 20 80 8a 2e |ssfunk(A|6). ...|
|00005d70| 42 20 20 44 30 2c 6e 5f | 67 6c 69 73 73 66 75 6e |B D0,n_|glissfun|
|00005d80| 6b 28 41 36 29 00 20 20 | 80 94 00 00 6d 74 5f 53 |k(A6). |....mt_S|
|00005d90| 65 74 56 69 62 72 61 74 | 6f 43 6f 6e 74 72 6f 6c |etVibrat|oControl|
|00005da0| 00 20 20 80 7e 2e 42 20 | 20 6e 5f 63 6d 64 6c 6f |. .~.B | n_cmdlo|
|00005db0| 28 41 36 29 2c 44 30 00 | 20 20 80 42 2e 42 20 23 |(A6),D0.| .B.B #|
|00005dc0| 24 30 46 2c 44 30 00 20 | 20 80 43 2e 42 20 23 24 |$0F,D0. | .C.B #$|
|00005dd0| 46 30 2c 6e 5f 77 61 76 | 65 63 6f 6e 74 72 6f 6c |F0,n_wav|econtrol|
|00005de0| 28 41 36 29 00 20 20 80 | 8a 2e 42 20 20 44 30 2c |(A6). .|..B D0,|
|00005df0| 6e 5f 77 61 76 65 63 6f | 6e 74 72 6f 6c 28 41 36 |n_waveco|ntrol(A6|
|00005e00| 29 00 20 20 80 94 00 00 | 6d 74 5f 53 65 74 46 69 |). ....|mt_SetFi|
|00005e10| 6e 65 54 75 6e 65 00 20 | 20 80 7e 2e 42 20 20 6e |neTune. | .~.B n|
|00005e20| 5f 63 6d 64 6c 6f 28 41 | 36 29 2c 44 30 00 20 20 |_cmdlo(A|6),D0. |
|00005e30| 80 42 2e 42 20 23 24 30 | 46 2c 44 30 00 20 20 80 |.B.B #$0|F,D0. .|
|00005e40| 7e 2e 42 20 20 44 30 2c | 6e 5f 66 69 6e 65 74 75 |~.B D0,|n_finetu|
|00005e50| 6e 65 28 41 36 29 00 20 | 20 80 94 00 00 6d 74 5f |ne(A6). | ....mt_|
|00005e60| 4a 75 6d 70 4c 6f 6f 70 | 00 20 20 80 b0 2e 42 20 |JumpLoop|. ...B |
|00005e70| 6d 74 5f 63 6f 75 6e 74 | 65 72 00 20 20 80 50 20 |mt_count|er. .P |
|00005e80| 6d 74 5f 52 65 74 75 72 | 6e 00 20 20 80 7e 2e 42 |mt_Retur|n. .~.B|
|00005e90| 20 20 6e 5f 63 6d 64 6c | 6f 28 41 36 29 2c 44 30 | n_cmdl|o(A6),D0|
|00005ea0| 00 20 20 80 42 2e 42 20 | 23 24 30 46 2c 44 30 00 |. .B.B |#$0F,D0.|
|00005eb0| 20 20 80 48 20 6d 74 5f | 53 65 74 4c 6f 6f 70 00 | .H mt_|SetLoop.|
|00005ec0| 20 20 80 b0 2e 42 20 6e | 5f 6c 6f 6f 70 63 6f 75 | ...B n|_loopcou|
|00005ed0| 6e 74 28 41 36 29 00 20 | 20 80 48 20 6d 74 5f 6a |nt(A6). | .H mt_j|
|00005ee0| 75 6d 70 63 6e 74 00 20 | 20 80 aa 2e 42 20 20 23 |umpcnt. | ...B #|
|00005ef0| 31 2c 6e 5f 6c 6f 6f 70 | 63 6f 75 6e 74 28 41 36 |1,n_loop|count(A6|
|00005f00| 29 00 20 20 80 48 20 6d | 74 5f 52 65 74 75 72 6e |). .H m|t_Return|
|00005f10| 00 6d 74 5f 6a 6d 70 6c | 6f 6f 70 3a 20 20 80 7e |.mt_jmpl|oop: .~|
|00005f20| 2e 42 20 20 6e 5f 70 61 | 74 74 70 6f 73 28 41 36 |.B n_pa|ttpos(A6|
|00005f30| 29 2c 6d 74 5f 50 42 72 | 65 61 6b 50 6f 73 00 20 |),mt_PBr|eakPos. |
|00005f40| 20 80 a4 20 20 6d 74 5f | 50 42 72 65 61 6b 46 6c | .. mt_|PBreakFl|
|00005f50| 61 67 00 20 20 80 94 00 | 00 6d 74 5f 6a 75 6d 70 |ag. ...|.mt_jump|
|00005f60| 63 6e 74 00 20 20 80 7e | 2e 42 20 20 44 30 2c 6e |cnt. .~|.B D0,n|
|00005f70| 5f 6c 6f 6f 70 63 6f 75 | 6e 74 28 41 36 29 00 20 |_loopcou|nt(A6). |
|00005f80| 20 80 58 20 6d 74 5f 6a | 6d 70 6c 6f 6f 70 00 00 | .X mt_j|mploop..|
|00005f90| 6d 74 5f 53 65 74 4c 6f | 6f 70 00 20 20 80 7e 2e |mt_SetLo|op. .~.|
|00005fa0| 57 20 20 6d 74 5f 50 61 | 74 74 65 72 6e 50 6f 73 |W mt_Pa|tternPos|
|00005fb0| 28 50 43 29 2c 44 30 00 | 20 20 80 7d 2e 57 20 23 |(PC),D0.| .}.W #|
|00005fc0| 34 2c 44 30 00 20 20 80 | 7e 2e 42 20 20 44 30 2c |4,D0. .|~.B D0,|
|00005fd0| 6e 5f 70 61 74 74 70 6f | 73 28 41 36 29 00 20 20 |n_pattpo|s(A6). |
|00005fe0| 80 94 00 00 6d 74 5f 53 | 65 74 54 72 65 6d 6f 6c |....mt_S|etTremol|
|00005ff0| 6f 43 6f 6e 74 72 6f 6c | 00 20 20 80 7e 2e 42 20 |oControl|. .~.B |
|00006000| 20 6e 5f 63 6d 64 6c 6f | 28 41 36 29 2c 44 30 00 | n_cmdlo|(A6),D0.|
|00006010| 20 20 80 42 2e 42 20 23 | 24 30 46 2c 44 30 00 20 | .B.B #|$0F,D0. |
|00006020| 20 80 7c 2e 42 20 23 34 | 2c 44 30 00 20 20 80 43 | .|.B #4|,D0. .C|
|00006030| 2e 42 20 23 24 30 46 2c | 6e 5f 77 61 76 65 63 6f |.B #$0F,|n_waveco|
|00006040| 6e 74 72 6f 6c 28 41 36 | 29 00 20 20 80 8a 2e 42 |ntrol(A6|). ...B|
|00006050| 20 20 44 30 2c 6e 5f 77 | 61 76 65 63 6f 6e 74 72 | D0,n_w|avecontr|
|00006060| 6f 6c 28 41 36 29 00 20 | 20 80 94 00 00 6d 74 5f |ol(A6). | ....mt_|
|00006070| 52 65 74 72 69 67 4e 6f | 74 65 00 20 20 80 7e 2e |RetrigNo|te. .~.|
|00006080| 4c 20 20 44 31 2c 2d 28 | 41 37 29 00 20 20 80 81 |L D1,-(|A7). ..|
|00006090| 20 23 30 2c 44 30 00 20 | 20 80 7e 2e 42 20 20 6e | #0,D0. | .~.B n|
|000060a0| 5f 63 6d 64 6c 6f 28 41 | 36 29 2c 44 30 00 20 20 |_cmdlo(A|6),D0. |
|000060b0| 80 42 2e 42 20 23 24 30 | 46 2c 44 30 00 20 20 80 |.B.B #$0|F,D0. .|
|000060c0| 48 20 6d 74 5f 72 74 6e | 65 6e 64 00 20 20 80 81 |H mt_rtn|end. ..|
|000060d0| 20 23 30 2c 44 31 00 20 | 20 80 7e 2e 42 20 20 6d | #0,D1. | .~.B m|
|000060e0| 74 5f 63 6f 75 6e 74 65 | 72 28 50 43 29 2c 44 31 |t_counte|r(PC),D1|
|000060f0| 00 20 20 80 50 20 6d 74 | 5f 72 74 6e 73 6b 70 00 |. .P mt|_rtnskp.|
|00006100| 20 20 80 7e 2e 57 20 20 | 28 41 36 29 2c 44 31 00 | .~.W |(A6),D1.|
|00006110| 20 20 80 42 2e 57 20 23 | 24 30 46 46 46 2c 44 31 | .B.W #|$0FFF,D1|
|00006120| 00 20 20 80 50 20 6d 74 | 5f 72 74 6e 65 6e 64 00 |. .P mt|_rtnend.|
|00006130| 20 20 80 81 20 23 30 2c | 44 31 00 20 20 80 7e 2e | .. #0,|D1. .~.|
|00006140| 42 20 20 6d 74 5f 63 6f | 75 6e 74 65 72 28 50 43 |B mt_co|unter(PC|
|00006150| 29 2c 44 31 00 6d 74 5f | 72 74 6e 73 6b 70 00 20 |),D1.mt_|rtnskp. |
|00006160| 20 80 72 20 20 44 30 2c | 44 31 00 20 20 80 ac 20 | .r D0,|D1. .. |
|00006170| 20 44 31 00 20 20 80 b0 | 2e 57 20 44 31 00 20 20 | D1. ..|.W D1. |
|00006180| 80 50 20 6d 74 5f 72 74 | 6e 65 6e 64 00 6d 74 5f |.P mt_rt|nend.mt_|
|00006190| 44 6f 52 65 74 72 69 67 | 00 20 20 80 7e 2e 57 20 |DoRetrig|. .~.W |
|000061a0| 20 6e 5f 64 6d 61 62 69 | 74 28 41 36 29 2c 24 44 | n_dmabi|t(A6),$D|
|000061b0| 46 46 30 39 36 20 20 3b | 20 43 68 61 6e 6e 65 6c |FF096 ;| Channel|
|000061c0| 20 44 4d 41 20 6f 66 66 | 00 20 20 80 7e 2e 4c 20 | DMA off|. .~.L |
|000061d0| 20 6e 5f 73 74 61 72 74 | 28 41 36 29 2c 28 41 35 | n_start|(A6),(A5|
|000061e0| 29 20 20 3b 20 53 65 74 | 20 73 61 6d 70 6c 65 64 |) ; Set| sampled|
|000061f0| 61 74 61 20 70 6f 69 6e | 74 65 72 00 20 20 80 7e |ata poin|ter. .~|
|00006200| 2e 57 20 20 6e 5f 6c 65 | 6e 67 74 68 28 41 36 29 |.W n_le|ngth(A6)|
|00006210| 2c 34 28 41 35 29 20 20 | 3b 20 53 65 74 20 6c 65 |,4(A5) |; Set le|
|00006220| 6e 67 74 68 00 20 20 80 | 7e 2e 57 20 20 44 4d 41 |ngth. .|~.W DMA|
|00006230| 5f 57 61 69 74 2c 44 30 | 00 6d 74 5f 72 74 6e 6c |_Wait,D0|.mt_rtnl|
|00006240| 6f 6f 70 31 00 20 20 80 | 6f 20 20 44 30 2c 6d 74 |oop1. .|o D0,mt|
|00006250| 5f 72 74 6e 6c 6f 6f 70 | 31 00 20 20 80 7e 2e 57 |_rtnloop|1. .~.W|
|00006260| 20 20 6e 5f 64 6d 61 62 | 69 74 28 41 36 29 2c 44 | n_dmab|it(A6),D|
|00006270| 30 00 20 20 80 56 20 20 | 23 31 35 2c 44 30 00 20 |0. .V |#15,D0. |
|00006280| 20 80 7e 2e 57 20 20 44 | 30 2c 24 44 46 46 30 39 | .~.W D|0,$DFF09|
|00006290| 36 00 20 20 80 7e 2e 57 | 20 20 44 4d 41 5f 57 61 |6. .~.W| DMA_Wa|
|000062a0| 69 74 2c 44 30 00 6d 74 | 5f 72 74 6e 6c 6f 6f 70 |it,D0.mt|_rtnloop|
|000062b0| 32 00 20 20 80 6f 20 20 | 44 30 2c 6d 74 5f 72 74 |2. .o |D0,mt_rt|
|000062c0| 6e 6c 6f 6f 70 32 00 20 | 20 80 7e 2e 4c 20 20 6e |nloop2. | .~.L n|
|000062d0| 5f 6c 6f 6f 70 73 74 61 | 72 74 28 41 36 29 2c 28 |_loopsta|rt(A6),(|
|000062e0| 41 35 29 00 20 20 80 7e | 2e 4c 20 20 6e 5f 72 65 |A5). .~|.L n_re|
|000062f0| 70 6c 65 6e 28 41 36 29 | 2c 34 28 41 35 29 00 6d |plen(A6)|,4(A5).m|
|00006300| 74 5f 72 74 6e 65 6e 64 | 00 20 20 80 7e 2e 4c 20 |t_rtnend|. .~.L |
|00006310| 20 28 41 37 29 2b 2c 44 | 31 00 20 20 80 94 00 00 | (A7)+,D|1. ....|
|00006320| 6d 74 5f 56 6f 6c 75 6d | 65 46 69 6e 65 55 70 00 |mt_Volum|eFineUp.|
|00006330| 20 20 80 b0 2e 42 20 6d | 74 5f 63 6f 75 6e 74 65 | ...B m|t_counte|
|00006340| 72 00 20 20 80 50 20 6d | 74 5f 52 65 74 75 72 6e |r. .P m|t_Return|
|00006350| 00 20 20 80 81 20 23 30 | 2c 44 30 00 20 20 80 7e |. .. #0|,D0. .~|
|00006360| 2e 42 20 20 6e 5f 63 6d | 64 6c 6f 28 41 36 29 2c |.B n_cm|dlo(A6),|
|00006370| 44 30 00 20 20 80 42 2e | 42 20 23 24 46 2c 44 30 |D0. .B.|B #$F,D0|
|00006380| 00 20 20 80 58 20 6d 74 | 5f 56 6f 6c 53 6c 69 64 |. .X mt|_VolSlid|
|00006390| 65 55 70 00 00 6d 74 5f | 56 6f 6c 75 6d 65 46 69 |eUp..mt_|VolumeFi|
|000063a0| 6e 65 44 6f 77 6e 00 20 | 20 80 b0 2e 42 20 6d 74 |neDown. | ...B mt|
|000063b0| 5f 63 6f 75 6e 74 65 72 | 00 20 20 80 50 20 6d 74 |_counter|. .P mt|
|000063c0| 5f 52 65 74 75 72 6e 00 | 20 20 80 81 20 23 30 2c |_Return.| .. #0,|
|000063d0| 44 30 00 20 20 80 7e 2e | 42 20 20 6e 5f 63 6d 64 |D0. .~.|B n_cmd|
|000063e0| 6c 6f 28 41 36 29 2c 44 | 30 00 20 20 80 42 2e 42 |lo(A6),D|0. .B.B|
|000063f0| 20 23 24 30 46 2c 44 30 | 00 20 20 80 58 20 6d 74 | #$0F,D0|. .X mt|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.